浏览代码

机构信息管理详情去掉null

nanMing 1 年之前
父节点
当前提交
72fa33df57
共有 1 个文件被更改,包括 3 次插入0 次删除
  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 ******/