前端迁移
This commit is contained in:
@@ -46,6 +46,7 @@ security:
|
||||
# 排除路径
|
||||
excludes:
|
||||
# 认证
|
||||
- /login
|
||||
- /auth/login
|
||||
- /auth/code
|
||||
- /auth/logout
|
||||
@@ -94,3 +95,4 @@ sa-token:
|
||||
is-print: false
|
||||
# token 前缀
|
||||
token-prefix: Bearer
|
||||
|
||||
|
||||
@@ -199,6 +199,8 @@ export default {
|
||||
// 触发单选
|
||||
handleCurrentChange(val) {
|
||||
if (val) {
|
||||
this.$refs.table.clearSelection()
|
||||
this.$refs.table.toggleRowSelection(val, true)
|
||||
const _this = this
|
||||
// 清空菜单的选中
|
||||
this.$refs.menu.setCheckedKeys([])
|
||||
@@ -246,7 +248,7 @@ export default {
|
||||
crudRoles.editMenu(role).then(() => {
|
||||
this.crud.notify('保存成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
|
||||
this.menuLoading = false
|
||||
this.update()
|
||||
// this.update()
|
||||
}).catch(err => {
|
||||
this.menuLoading = false
|
||||
console.log(err.response.data.message)
|
||||
@@ -254,6 +256,7 @@ export default {
|
||||
},
|
||||
// 改变数据
|
||||
update() {
|
||||
debugger
|
||||
// 无刷新更新 表格数据
|
||||
crudRoles.get(this.currentId).then(res => {
|
||||
for (let i = 0; i < this.crud.data.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user