fix: modify

develop
时启龙 2024-09-06 09:49:58 +08:00
parent 926f5837f8
commit e4243422c3
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@
<script> <script>
import { reactive, toRefs } from 'vue' import { reactive, toRefs } from 'vue'
import { getSystemTreeConfigs } from 'services/system' import { getSystemTreeConfigs } from 'services/system'
import { Message } from 'element-ui'
export default { export default {
setup() { setup() {
const state = reactive({ const state = reactive({
@ -45,6 +46,7 @@ export default {
} }
getScreenConfigs() getScreenConfigs()
function goPage(path) { function goPage(path) {
if (!path) return Message.error('缺少跳转地址,请前往 系统配置-系统对接 菜单进行配置')
location.href = path location.href = path
} }
return { return {