Commit f7c65d67 by Elune

🔖 v2.4 优化

parent d278dbf7
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()
......
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