|
|
@@ -102,7 +102,7 @@ export default {
|
|
|
let res = await userAuth(temp.join(","), this.userId);
|
|
|
if (res.code === 0) {
|
|
|
this.$message.success("授权成功!");
|
|
|
- this.disBtn=1
|
|
|
+ this.disBtn = 1;
|
|
|
} else this.$message.warning(res.msg);
|
|
|
},
|
|
|
// 分页器
|
|
|
@@ -129,6 +129,7 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
this.$nextTick(() => {
|
|
|
+ if (this.userData && this.userData.length === 0) this.disBtn++;
|
|
|
this.userData.forEach((v) => {
|
|
|
this.$refs.table.toggleRowSelection(v, true);
|
|
|
});
|