wangxiaoyi 9 месяцев назад
Родитель
Сommit
9e2bf850dc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/platform/cat/type/manage.vue

+ 1 - 1
src/views/platform/cat/type/manage.vue

@@ -181,7 +181,7 @@ export default {
             this.loading = true
             let whereParams = {}
             const allRequests = []
-            if (this.$route.name === 'wjjflsz') {
+            if (this.$route?.meta?.name === 'wjjflsz') {
                 this.categoryKey = 'FILE_TYPE'
                 const keys = ['FILE_TYPE', 'FLOW_TYPE']
                 keys.forEach(item => {