guhongwei 5 лет назад
Родитель
Сommit
c3e9e55607
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      src/views/personnel/personnel.vue

+ 3 - 1
src/views/personnel/personnel.vue

@@ -137,7 +137,9 @@ export default {
     },
     async searchCanmou({ skip = 0, limit = 10, column_id } = {}) {
       const res = await this.canmouList({ skip, limit, column_id: this.canmouId });
-      this.$set(this, `canmoData`, res.data);
+      if (this.$checkRes(res)) {
+        this.$set(this, `canmoData`, res.data);
+      }
     },
     // 人才详情
     clickDetail({ data }) {