yrik 4 éve
szülő
commit
050e2bcc01
1 módosított fájl, 9 hozzáadás és 4 törlés
  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(){
       foremliseju(){
        listIndex(this.queryParamslist).then(res => {
        listIndex(this.queryParamslist).then(res => {
          console.log(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.total)
          console.log(this.postList,567)
          console.log(this.postList,567)