fix(模板中心):修复【落地页管理】使用已存在的模板,打开模板1展示空白,再打开模板2,展示的是模板1的内容
This commit is contained in:
parent
b4074d5604
commit
ee94f44529
|
@ -206,7 +206,6 @@ export default class mytemplate extends React.Component {
|
|||
copyThemecustom(row.id).then(res => {
|
||||
handelResponse(res, (req) => {
|
||||
row.id = req.id;
|
||||
sessionStorage.setItem("pageInfo", JSON.stringify(row))
|
||||
sessionStorage.setItem("isSort", 0)
|
||||
sessionStorage.setItem('pageChange', 0);
|
||||
}, () => {
|
||||
|
@ -214,9 +213,9 @@ export default class mytemplate extends React.Component {
|
|||
}).catch(() => {
|
||||
});
|
||||
}else {
|
||||
sessionStorage.setItem("pageInfo", JSON.stringify(row))
|
||||
sessionStorage.setItem('pageChange', 1);
|
||||
}
|
||||
sessionStorage.setItem("pageInfo", JSON.stringify(row))
|
||||
sessionStorage.setItem('mouldType', 1);
|
||||
if (type) {
|
||||
window.location.href = "/#/edittemplate?type=" + type;
|
||||
|
|
Loading…
Reference in New Issue