功能條整

This commit is contained in:
2026-08-07 18:00:51 +08:00
parent e60b172b39
commit 68206fcab2
6 changed files with 102 additions and 42 deletions
+4 -2
View File
@@ -8,8 +8,8 @@
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="content" class="container-fluid py-4">
<keep-alive>
<component :is="currentView" ref="myChild"
<keep-alive :exclude="['pre_order-component']">
<component :is="currentView" ref="myChild" :reload="reload"
@custom-event="changeView" :search="search">
</component>
</keep-alive>
@@ -50,6 +50,7 @@
order_no: '',
f_name:'',
},
reload:0,
}
},
components: {
@@ -84,6 +85,7 @@
if (item.action === "add") {
this.currentView = "pre_order_reg-component";
} else if (item.action === "list") {
this.reload++;
this.currentView = "pre_order-component";
}
},