yrik 4 年之前
父节点
当前提交
e2eeeaf28b

+ 2 - 0
ruoyi-ui/src/views/system/editing/index.vue

@@ -202,6 +202,8 @@
             }
           }
          console.log(this.queryParams)
+         this.queryParams.image = JSON.stringify(this.queryParams.image)
+         this.queryParams.file = JSON.stringify(this.queryParams.file)
           if(this.queryParams.pageNum !== undefined){
             this.queryParams.pageNum = undefined
           }

+ 2 - 0
ruoyi-ui/src/views/system/form/index.vue

@@ -256,6 +256,8 @@
              }
            }
          }
+         this.queryParams.image = JSON.stringify(this.queryParams.image)
+         this.queryParams.file = JSON.stringify(this.queryParams.file)
          console.log(this.queryParams)
          if(index == 'D'){
            //删除

+ 2 - 2
ruoyi-ui/src/views/system/table/index.vue

@@ -140,8 +140,8 @@
              }
            }
          }
-         this.queryParams.image = this.queryParams.image  + ""
-         this.queryParams.file = this.queryParams.file  + ""
+         this.queryParams.image = JSON.stringify(this.queryParams.image)   
+         this.queryParams.file = JSON.stringify(this.queryParams.file)
          console.log(this.queryParams)
          if(this.queryParams.pageNum !== undefined){
            this.queryParams.pageNum = undefined