Commit 0779717e by 冷斌

update

parent 48f79f42
...@@ -68,7 +68,6 @@ ...@@ -68,7 +68,6 @@
alertBox: false, alertBox: false,
touid: '', touid: '',
uname: '', uname: '',
roleName: '',
role: 0, role: 0,
uid: {$uid}, uid: {$uid},
}, },
...@@ -162,7 +161,6 @@ ...@@ -162,7 +161,6 @@
this.touid = ''; this.touid = '';
this.uname = ''; this.uname = '';
this.role = 0; this.role = 0;
this.roleName = '';
}, },
returnBtn: function () { returnBtn: function () {
layer.confirm('您确定要解散家族',{ layer.confirm('您确定要解散家族',{
...@@ -219,12 +217,12 @@ ...@@ -219,12 +217,12 @@
} }
}, },
computed: { computed: {
'roleBtn': function() { roleName: function() {
this.roleName = '设为管理员'; let name = '设为管理员';
if (this.role > 0) { if (this.role > 0) {
this.roleName = '取消管理员'; name = '取消管理员';
} }
return this.roleName; return name;
} }
}, },
watch: { watch: {
......
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