提交 8ce483c1 编写于 作者: zhujiamin's avatar zhujiamin

表单值变更 退出时确认框重复渲染 --fix3

上级 4c9266bc
...@@ -243,4 +243,13 @@ export const setThirdPartyName = (state: any, name: any) => { ...@@ -243,4 +243,13 @@ export const setThirdPartyName = (state: any, name: any) => {
*/ */
export const updateZIndex = (state: any, zIndex: number) => { export const updateZIndex = (state: any, zIndex: number) => {
state.zIndex = zIndex; state.zIndex = zIndex;
}
/**
* 是否弹出过表单确认框
*
* @param state
*/
export const changeHasClose = (state: any, status: boolean) => {
state.hasClose = status;
} }
\ No newline at end of file
...@@ -13,4 +13,5 @@ export const rootstate: any = { ...@@ -13,4 +13,5 @@ export const rootstate: any = {
thirdPartyName:'', thirdPartyName:'',
localdata: {}, localdata: {},
zIndex: 300, zIndex: 300,
hasClose:true,
} }
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册