Forráskód Böngészése

机构信息管理详情去掉null

nanMing 1 éve
szülő
commit
72fa33df57
1 módosított fájl, 3 hozzáadás és 0 törlés
  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 ******/