|
|
@@ -158,9 +158,11 @@ export default {
|
|
|
if(typeof (config.area) === 'string'){
|
|
|
config.area = (config.area).split(',');
|
|
|
}
|
|
|
+ let copyParam = JSON.stringify(config)
|
|
|
+ localStorage.setItem('nowPageEdit',copyParam)
|
|
|
this.$router.push({
|
|
|
path: "/changShang/editPage",
|
|
|
- query: config,
|
|
|
+ // query: config,
|
|
|
});
|
|
|
},
|
|
|
getDataList: function () {
|
|
|
@@ -202,15 +204,16 @@ export default {
|
|
|
},
|
|
|
/* 发布公告 */
|
|
|
announce: function () {
|
|
|
- this.$router.push({
|
|
|
- path: "/changShang/editPage",
|
|
|
- query: {
|
|
|
+ let copyParam = JSON.stringify({
|
|
|
title:'',
|
|
|
content:``,
|
|
|
id:'',
|
|
|
files:[],
|
|
|
area:['全区']
|
|
|
- },
|
|
|
+ })
|
|
|
+ localStorage.setItem('nowPageEdit',copyParam)
|
|
|
+ this.$router.push({
|
|
|
+ path: "/changShang/editPage",
|
|
|
});
|
|
|
},
|
|
|
},
|