fix: 修复复制和编辑的状态判断

This commit is contained in:
zhangds 2022-10-26 16:51:21 +08:00
parent a21555f0d4
commit fc136f745b
1 changed files with 0 additions and 3 deletions

View File

@ -197,7 +197,6 @@ export default class acclist extends React.Component {
}; };
} }
clickFn() { clickFn() {
sessionStorage.setItem("isState", "");
let link = window.location.href.replace( let link = window.location.href.replace(
window.location.hash, window.location.hash,
"#/home/plan-create" "#/home/plan-create"
@ -634,7 +633,6 @@ export default class acclist extends React.Component {
"#/home/plan-edit" "#/home/plan-edit"
); );
sessionStorage.setItem("KeyPcType", "1"); sessionStorage.setItem("KeyPcType", "1");
sessionStorage.setItem("isState", "2");
window.open(link, "_blank"); window.open(link, "_blank");
} }
// 一键复制 // 一键复制
@ -659,7 +657,6 @@ export default class acclist extends React.Component {
window.location.hash, window.location.hash,
"#/home/plan-edit-copy" "#/home/plan-edit-copy"
); );
sessionStorage.setItem("isState", "1");
sessionStorage.setItem("KeyPcType", "2"); sessionStorage.setItem("KeyPcType", "2");
window.open(link, "_blank"); window.open(link, "_blank");
} }