瀏覽代碼

找参谋

guhongwei 5 年之前
父節點
當前提交
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 }) {