Quellcode durchsuchen

机构信息管理详情去掉null

nanMing vor 1 Jahr
Ursprung
Commit
72fa33df57
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. 3 0
      ruoyi-ui/src/views/business/fwjggl/jgxxgl/index.vue

+ 3 - 0
ruoyi-ui/src/views/business/fwjggl/jgxxgl/index.vue

@@ -515,6 +515,9 @@ export default {
       const id = row.id || this.ids
       getJcxx(id).then(response => {
         this.form = response.data;
+        Object.keys(this.form).forEach(key => {
+          this.form[key] === null ? this.form[key] = '' : false
+        })
         /****** sks 需要改动的地方 start ******/
         this.copyForm = this.deepCopy(response.data)
         /****** sks 需要改动的地方 end ******/