Pārlūkot izejas kodu

delete $message error

pull/72/head
zhangtao pirms 1 gada
vecāks
revīzija
c1e0f11f03
2 mainītis faili ar 0 papildinājumiem un 5 dzēšanām
  1. +0
    -1
      src/router/guard/permission-guard.js
  2. +0
    -4
      src/views/task-manage/components/DrawComp.vue

+ 0
- 1
src/router/guard/permission-guard.js Parādīt failu

@@ -8,7 +8,6 @@ export function createPermissionGuard(router) {
const permissionStore = usePermissionStore()
router.beforeEach(async(to, from, next) => {
const oidcUser = await getUserInfo()
debugger
if (oidcUser) {
const hasRoutes = !!permissionStore.permissionRoutes.length
if (hasRoutes) {

+ 0
- 4
src/views/task-manage/components/DrawComp.vue Parādīt failu

@@ -281,8 +281,6 @@ const startFly = () => {
pilotStart({ id: data.id }).then(({ code, msg }) => {
if (code === 0) {
emit('close')
} else {
$message.error(msg)
}
})
}
@@ -299,8 +297,6 @@ const endFly = () => {
pilotEnd({ id: data.id }).then(({ code, msg }) => {
if (code === 0) {
emit('close')
} else {
$message.error(msg)
}
})
}

Notiek ielāde…
Atcelt
Saglabāt