🔖 v2.4 优化

This commit is contained in:
Elune
2019-12-24 10:52:56 +08:00
parent d278dbf724
commit f7c65d67ca
3 changed files with 3 additions and 11 deletions

View File

@@ -86,11 +86,6 @@ export default {
}
},
methods: {
// 获取数据前设置好接口地址
beforeInit() {
this.url = 'auth/online'
return true
},
doDelete(datas) {
this.$confirm(`确认强退选中的${datas.length}个用户?`, '提示', {
confirmButtonText: '确定',

View File

@@ -308,10 +308,6 @@ export default {
}
})
},
beforeInit() {
this.url = 'api/users'
return true
},
// 新增与编辑前做的操作
[CRUD.HOOK.afterToCU](crud, form) {
this.getDepts()