* sys_initdb_mysql/pgsql.go: 优化流程, 创建database前,如果dbname为空直接返回

* 删除视图逻辑

* 摘除视图初始化逻辑

* 移除dialog废弃的title标签修改为header

* 解决部分浏览器登录后遮罩不消失的bug

* 修复角色菜单逻辑

* element 2.2.2=>2.2.5

* 修复插件模板

* 调整自动插件模板到插件功能下

* 切换角色切换至角色首页

Co-authored-by: Lyon.Nee <lyon.nee@outlook.com>
This commit is contained in:
奇淼(piexlmax
2022-06-23 22:30:15 +08:00
committed by GitHub
co-authored by Lyon.Nee
parent 8504e9bf74
commit 091f83ff59
14 changed files with 102 additions and 232 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
"axios": "^0.19.2",
"core-js": "^3.6.5",
"echarts": "5.3.2",
"element-plus": "2.2.2",
"element-plus": "2.2.5",
"highlight.js": "^10.6.0",
"marked": "^2.0.0",
"mitt": "^3.0.0",
+1
View File
@@ -66,6 +66,7 @@ export const useUserStore = defineStore('user', () => {
router.addRoute(asyncRouter)
})
router.push({ name: userInfo.value.authority.defaultRouter })
loadingInstance.value.close()
return true
}
} catch (e) {
+1 -1
View File
@@ -199,7 +199,7 @@ const changeUserAuth = async(id) => {
emitter.emit('closeAllPage')
setTimeout(() => {
window.location.reload()
}, 1)
}, 50)
}
}
+4 -2
View File
@@ -63,13 +63,15 @@
<el-button
icon="edit"
size="small"
type="primary" link
type="primary"
link
@click="editApiFunc(scope.row)"
>编辑</el-button>
<el-button
icon="delete"
size="small"
type="primary" link
type="primary"
link
@click="deleteApiFunc(scope.row)"
>删除</el-button>
</template>
+1 -1
View File
@@ -159,7 +159,7 @@
</el-dialog>
<el-dialog v-model="previewFlag">
<template #title>
<template #header>
<div class="previewCodeTool">
<p>操作栏:</p>
<el-button size="small" type="primary" @click="selectText">全选</el-button>