diff --git a/.env.staging b/.env.staging index a8793a0..183130f 100644 --- a/.env.staging +++ b/.env.staging @@ -4,5 +4,5 @@ NODE_ENV = production ENV = 'staging' # base api -VUE_APP_BASE_API = '/stage-api' +VUE_APP_BASE_API = 'http://111.231.67.55:9001' diff --git a/.gitignore b/.gitignore index 9ad28d2..f040ad5 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ tests/**/coverage/ *.ntvs* *.njsproj *.sln +dist.zip diff --git a/src/views/user/role/index.vue b/src/views/user/role/index.vue index 248f9ec..16a85d1 100644 --- a/src/views/user/role/index.vue +++ b/src/views/user/role/index.vue @@ -324,6 +324,7 @@ export default { data.instrument_module_id = JSON.stringify(data.instrument_module_id) add_update_role(stringify(data)).then(res => { this.$message.success(res.msg) + this.getList() this.onClose() }) this.close()