功能條整
This commit is contained in:
@@ -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";
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user