🔖 v2.4 优化
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
ENV = 'production'
|
||||
|
||||
# 接口地址
|
||||
# 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http
|
||||
VUE_APP_BASE_API = 'https://api.auauz.net'
|
||||
VUE_APP_WS_API = 'ws://api.auauz.net'
|
||||
# 如果接口是 http 形式, wss 需要改为 ws
|
||||
VUE_APP_WS_API = 'wss://api.auauz.net'
|
||||
|
||||
@@ -86,11 +86,6 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 获取数据前设置好接口地址
|
||||
beforeInit() {
|
||||
this.url = 'auth/online'
|
||||
return true
|
||||
},
|
||||
doDelete(datas) {
|
||||
this.$confirm(`确认强退选中的${datas.length}个用户?`, '提示', {
|
||||
confirmButtonText: '确定',
|
||||
|
||||
@@ -308,10 +308,6 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
beforeInit() {
|
||||
this.url = 'api/users'
|
||||
return true
|
||||
},
|
||||
// 新增与编辑前做的操作
|
||||
[CRUD.HOOK.afterToCU](crud, form) {
|
||||
this.getDepts()
|
||||
|
||||
Reference in New Issue
Block a user