Commit 4b906066 authored by 黄奎's avatar 黄奎

可见权限调整

parent 63c10468
...@@ -353,9 +353,9 @@ ...@@ -353,9 +353,9 @@
const { setNewDatasList } = useEditor() const { setNewDatasList } = useEditor()
const TemplateAuthType = ref([ const TemplateAuthType = ref([
{Type: 0,Name: '免费',}, {Type: 1,Name: '全部',},
{Type: 1,Name: 'VIP',}, {Type: 2,Name: 'VIP',},
{Type: 2,Name: '私有',} {Type: 3,Name: '私有',}
]) ])
const ParentObj = reactive({ const ParentObj = reactive({
......
...@@ -125,7 +125,7 @@ const datas = reactive({ ...@@ -125,7 +125,7 @@ const datas = reactive({
Width: 0, Width: 0,
Height: 0, Height: 0,
ColorId: '', ColorId: '',
AuthType: 2,//0-免费模版 1-vip模版 2-私有模版 AuthType: 3,//1-全部可见 2-vip可见 2-私有模版
SubColor: null, // 父级颜色 SubColor: null, // 父级颜色
} }
}, },
......
...@@ -130,7 +130,7 @@ const getColorShade = async (newSlides:any) => { ...@@ -130,7 +130,7 @@ const getColorShade = async (newSlides:any) => {
let dark = false let dark = false
let day = 0 let day = 0
// 根据集团渲染logo // 根据集团渲染logo
if(tempDatas.value.AuthType<=1){ if(tempDatas.value.AuthType<=2){
for(let j=0;j<colorList.value.length;j++){ for(let j=0;j<colorList.value.length;j++){
if (getRgbLevel(colorList.value[j].Color) > 50) dark = true if (getRgbLevel(colorList.value[j].Color) > 50) dark = true
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment