Explorar o código

修复文件夹分类设置

wangxiaoyi hai 10 meses
pai
achega
9e2bf850dc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 => {