From 42c17fe468ceea7e5eed7fec520b9858bed02e85 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 04 八月 2023 17:52:30 +0800
Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs

---
 Source/UBCS-WEB/src/components/template/Stage.vue |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/template/Stage.vue b/Source/UBCS-WEB/src/components/template/Stage.vue
index cce53f2..a4bd748 100644
--- a/Source/UBCS-WEB/src/components/template/Stage.vue
+++ b/Source/UBCS-WEB/src/components/template/Stage.vue
@@ -1,5 +1,5 @@
 <template>
-    <div>
+    <div v-if="Formlist.length>0">
         <avue-crud ref="crud" :table-loading="loading" :data="data" :option="option" :page.sync="page"
             @on-load="getDataList" @size-change="handleSizePage" @current-change="handleCurrentPage"
             @row-click="handleRowClick">
@@ -35,7 +35,11 @@
             typeof: String,
             required: true,
             default: ""
-        }
+        },
+      Formlist:{
+        type:Array,
+        default:[]
+      }
     },
     watch: {
       code: {
@@ -144,6 +148,8 @@
               this.data = data.records
               this.page.total = data.total
             } else this.loading = false
+          }else {
+            this.data=[]
           }
         },
         // 鑾峰彇闃舵鍒楄〃

--
Gitblit v1.9.3