qinzhipeng_v 5 年之前
父节点
当前提交
f869aeb7d1
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/views/Platform/useCasePage.vue

+ 3 - 1
src/views/Platform/useCasePage.vue

@@ -545,7 +545,9 @@ export default {
       this.startId = e.id
       queryCasesData({ pageSize: 8, curIndex: 1, caseFolderId: e.id }).then(res => {
         this.gridData = res.data.list
-        this.grid_xmind = res.data.subList
+        if (res.data.subList) {
+          this.grid_xmind = res.data.subList
+        }
         this.total = res.data.total
       })
     },