소스 검색

修复文件夹分类设置

wangxiaoyi 1 년 전
부모
커밋
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 => {