src/views/AuthorizationManagement/roleMenuAuthorization.vue
@@ -193,6 +193,7 @@ <el-dialog :title="$t('operatManage.UserRoleAuthorizationObj.Added')" :visible.sync="dialogTableVisible" :before-close="handleClose" > <el-table :data="gridData" @@ -235,7 +236,7 @@ > <el-button size="small" @click="dialogTableVisible = false" @click="handleClose" >{{ $t('dataManage.dictionaryManageObj.cancel') }}</el-button> @@ -531,6 +532,13 @@ break; } }, handleClose() { this.$confirm("关闭后无法保存,是否关闭?") .then((_) => { this.dialogTableVisible = false }) .catch((_) => { }); }, }, created() { var val = this.$store.state.currentPerms;