Commit 95f83c5e by lixiaomin

修改方法名

parent 1ba4040d
......@@ -108,7 +108,7 @@ export default {
}
},
created() {
this.bb();
this.getDisable();
},
methods: {
// 删除图片
......@@ -202,7 +202,7 @@ export default {
return strs;
},
bb(){
getDisable(){
const permissions = store.getters && store.getters.permissions;
if(permissions.length>0){
if(permissions[0]=="*:*:*"){
......@@ -210,10 +210,8 @@ export default {
return;
}
for(let i=0;i<permissions.length;i++){
if(permissions[i]=="system:config:edit"){
if(permissions[i]=="system:config:edit"){
this.disabled=false
console.log("this.disabled",this.disabled)
return;
}
}
......
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