|
@@ -26,14 +26,14 @@ export default {
|
|
|
}),
|
|
|
newInfo() {
|
|
|
let info = {
|
|
|
- work: this.info.work,
|
|
|
- workBackgroundMusic: this.info.workBackgroundMusic,
|
|
|
- workCoverType: this.info.workCoverType,
|
|
|
- workCustomButton: this.info.workCustomButton,
|
|
|
- workId: this.info.workId,
|
|
|
- workLogo: this.info.workLogo,
|
|
|
- workOpeningAnimation: this.info.workOpeningAnimation,
|
|
|
- workOpeningTip: this.info.workOpeningTip,
|
|
|
+ work: this.info?.work,
|
|
|
+ workBackgroundMusic: this.info?.workBackgroundMusic,
|
|
|
+ workCoverType: this.info?.workCoverType,
|
|
|
+ workCustomButton: this.info?.workCustomButton,
|
|
|
+ workId: this.info?.workId,
|
|
|
+ workLogo: this.info?.workLogo,
|
|
|
+ workOpeningAnimation: this.info?.workOpeningAnimation,
|
|
|
+ workOpeningTip: this.info?.workOpeningTip,
|
|
|
};
|
|
|
return JSON.parse(JSON.stringify(info));
|
|
|
// return info;
|
|
@@ -43,8 +43,7 @@ export default {
|
|
|
newInfo: {
|
|
|
handler(newVal, oldVal) {
|
|
|
if (newVal && this.$route.name == "base") {
|
|
|
- // if (JSON.stringify(newVal).length != JSON.stringify(oldVal).length && this.$route.name == "base") {
|
|
|
- console.error("base change");
|
|
|
+ // if (JSON.stringify(newVal).length != JSON.stringify(oldVal).length && this.$route.name == "base") {
|
|
|
this.$store.commit("scene/setSaveApiList", "base");
|
|
|
}
|
|
|
},
|