yrik 4 年之前
父节点
当前提交
050e2bcc01
共有 1 个文件被更改,包括 9 次插入4 次删除
  1. 9 4
      ruoyi-ui/src/views/system/editing/index.vue

+ 9 - 4
ruoyi-ui/src/views/system/editing/index.vue

@@ -382,10 +382,15 @@
       foremliseju(){
        listIndex(this.queryParamslist).then(res => {
          console.log(res)
-         let data = res.data
-         this.postList = data
-         this.loading = false
-         this.total = res.data.total - 0
+         if(res.code == 200){
+           let data = res.data
+           this.postList = data
+           this.total = res.data.total - 0
+         }else{
+           console.log(876)
+           // this.postList = []
+         }
+          this.loading = false
          console.log(this.total)
          console.log(this.postList,567)