提交 7bcefe2a 编写于 作者: KK's avatar KK

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

上级 0a542ddd
......@@ -207,6 +207,7 @@ export default class AppRoundList extends Vue {
* @memberof AppSearchHistory
*/
public openSearchform() {
this.$store.commit('setSearchformStatus',true);
this.$emit("openSearchform");
}
......
......@@ -76,4 +76,13 @@ export const getThirdPartyName = (state: any) =>() => {
*/
export const getZIndex = (state: any) => () => {
return state.zIndex;
}
\ No newline at end of file
}
/**
* 获取搜索表单状态
*
* @param state
* @param val
*/
export const getSearchformStatus = (state: any) => {
return state.searchformStatus;
}
\ No newline at end of file
......@@ -291,4 +291,14 @@ export const setNavigationStyle = (state: any, val: any) => {
*/
export const setPopupStatus = (state: any, val: any) => {
state.popupStatus = val;
}
/**
* 搜索表单状态
*
* @param state
* @param val
*/
export const setSearchformStatus = (state: any, val: any) => {
state.searchformStatus = val;
}
\ No newline at end of file
......@@ -18,4 +18,5 @@ export const rootstate: any = {
selectTextAlign:'',
selectNaviStyle:'',
popupStatus:true,
searchformStatus:false
}
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册