yrik преди 4 години
родител
ревизия
e2eeeaf28b
променени са 3 файла, в които са добавени 6 реда и са изтрити 2 реда
  1. 2 0
      ruoyi-ui/src/views/system/editing/index.vue
  2. 2 0
      ruoyi-ui/src/views/system/form/index.vue
  3. 2 2
      ruoyi-ui/src/views/system/table/index.vue

+ 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