提交 3f7125ee 编写于 作者: KK's avatar KK

Revert "搜索表单打开是返回操作异常"

This reverts commit 26e36aa4.
上级 26e36aa4
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
<#-- 搜索表单:BEGIN --> <#-- 搜索表单:BEGIN -->
<#if view.hasPSControl('searchform')> <#if view.hasPSControl('searchform')>
<van-popup @close="searchformClose" get-container="#app" :lazy-render="false" duration="0.2" v-model="searchformState" position="right" class="searchform" style="height: 100%; width: 85%;" > <van-popup get-container="#app" :lazy-render="false" duration="0.2" v-model="searchformState" position="right" class="searchform" style="height: 100%; width: 85%;" >
<ion-header> <ion-header>
<ion-toolbar translucent> <ion-toolbar translucent>
<ion-title>条件搜索</ion-title> <ion-title>条件搜索</ion-title>
......
...@@ -57,15 +57,6 @@ ...@@ -57,15 +57,6 @@
} }
this.closeSearchform(); this.closeSearchform();
} }
/**
* 搜索表单关闭事件
*
* @memberof ${srfclassname('${view.name}')}Base
*/
public searchformClose() {
this.$store.commit('setSearchformStatus',false);
}
</#if> </#if>
<#-- 输出快速搜索:BEGIN --> <#-- 输出快速搜索:BEGIN -->
<#if view.isEnableQuickSearch?? && view.isEnableQuickSearch() == true> <#if view.isEnableQuickSearch?? && view.isEnableQuickSearch() == true>
......
...@@ -265,10 +265,6 @@ ${P.getLogicCode(logic, "LOGIC.vue").code} ...@@ -265,10 +265,6 @@ ${P.getLogicCode(logic, "LOGIC.vue").code}
* @memberof ${srfclassname('${view.name}')}Base * @memberof ${srfclassname('${view.name}')}Base
*/ */
protected async closeView(args: any[]): Promise<any> { protected async closeView(args: any[]): Promise<any> {
if(this.$store.getters.getSearchformStatus()){
this.searchformState = false;
return
}
<#if userCloseView??> <#if userCloseView??>
${userCloseView} ${userCloseView}
<#else> <#else>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册