From 9ab353d083dd22a90a8a0f09b9b7b756d58cc1bd Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期四, 14 九月 2023 15:38:43 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.22:9001/r/mom-before

---
 src/components/view/standard.vue |   28 ++++++++++++++++++++++++++--
 1 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/src/components/view/standard.vue b/src/components/view/standard.vue
index 9f461ba..7984cb2 100644
--- a/src/components/view/standard.vue
+++ b/src/components/view/standard.vue
@@ -982,7 +982,9 @@
         return this.verdata[0]
       })
       this.character=v
-      this.version2="v"+v
+      if(this.character != undefined){
+        this.version2="v"+v
+      }
       this.selectAll()
     },
     //鍙充晶鏁版嵁
@@ -1165,6 +1167,28 @@
       handler(newval,oldVal){
         if(newval){
         let treeOptions = JSON.parse(JSON.stringify(this.list));
+        if(treeOptions.length<1){
+          let obj={
+            name: '鎴愬搧',
+          }
+          let obj2={
+            name: '鍗婃垚鍝�',
+          }
+          treeOptions.push(obj)
+          treeOptions.push(obj2)
+        }
+        if(treeOptions.length===1){
+          if(treeOptions[0].name==='鎴愬搧'){
+            treeOptions.push({
+            name: '鍗婃垚鍝�',
+          })
+          }
+          if(treeOptions[0].name==='鍗婃垚鍝�'){
+            treeOptions.push({
+            name: '鎴愬搧',
+          })
+          }
+        }
         this.replaceProp(treeOptions)
         this.formTypeOptions=treeOptions
         this.restaurants=this.loadFatherType()
@@ -1204,7 +1228,7 @@
   padding: 0 12px;
 }
 
-.standard .right .contentTable{
+ .contentTable{
   width:98%;
   margin-left:1%;
 }

--
Gitblit v1.9.3