Bladeren bron

机构信息管理详情去掉null

nanMing 2 jaren geleden
bovenliggende
commit
72fa33df57
1 gewijzigde bestanden met toevoegingen van 3 en 0 verwijderingen
  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 ******/