Преглед на файлове

bug-1290 公告通知导航错误

cfort преди 2 години
родител
ревизия
7bdd4fc057
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      src/views/system/dashboard/components/util.js

+ 3 - 2
src/views/system/dashboard/components/util.js

@@ -375,7 +375,8 @@ export function buildComponent (name, column, preview, vm) {
                     const menuMap = {
                         myTraining: 'rygl/rypx/wdpx',
                         myTesting: 'rygl/kszx/wdks',
-                        myDevices: 'sbgls/mywh'
+                        myDevices: 'sbgls/mywh',
+                        notice: 'tygl/tzgg'
                     }
                     if (menuMap[url]) {
                         const alias = menuMap[url].split('/')[0]
@@ -391,7 +392,7 @@ export function buildComponent (name, column, preview, vm) {
                     if (this.attrs.colUrl === '') {
                         return this.$message.warning('未设置更多路径的url')
                     }
-                    this.$router.push(`/${this.attrs.colUrl}`)
+                    this.openPlate(this.attrs.colUrl)
                 },
                 // 未读消息
                 handleClick (option) {