|
|
@ -604,8 +604,7 @@ export default {
|
|
|
|
}, 200)
|
|
|
|
}, 200)
|
|
|
|
setTimeout(() => {
|
|
|
|
setTimeout(() => {
|
|
|
|
const key = this.$route.fullPath
|
|
|
|
const key = this.$route.fullPath
|
|
|
|
|
|
|
|
const detailsChange = Object.keys(this.needSavePages).includes(key) ? !!this.needSavePages[key].details : false
|
|
|
|
const detailsChange = this.needSavePages[key] ? !!this.needSavePages[key].details : false
|
|
|
|
|
|
|
|
this.checkSaveFun({ type: 'details', hasChange: detailsChange })
|
|
|
|
this.checkSaveFun({ type: 'details', hasChange: detailsChange })
|
|
|
|
|
|
|
|
|
|
|
|
const hbListChange = !!this.needSavePages[key].hbList
|
|
|
|
const hbListChange = !!this.needSavePages[key].hbList
|
|
|
@ -649,7 +648,7 @@ export default {
|
|
|
|
setTimeout(() => {
|
|
|
|
setTimeout(() => {
|
|
|
|
const key = this.$route.fullPath
|
|
|
|
const key = this.$route.fullPath
|
|
|
|
|
|
|
|
|
|
|
|
const detailsChange = this.needSavePages[key] ? !!this.needSavePages[key].details : false
|
|
|
|
const detailsChange = Object.keys(this.needSavePages).includes(key) ? !!this.needSavePages[key].details : false
|
|
|
|
this.checkSaveFun({ type: 'details', hasChange: detailsChange })
|
|
|
|
this.checkSaveFun({ type: 'details', hasChange: detailsChange })
|
|
|
|
|
|
|
|
|
|
|
|
const hbListChange = !!this.needSavePages[key].hbList
|
|
|
|
const hbListChange = !!this.needSavePages[key].hbList
|
|
|
@ -691,7 +690,7 @@ export default {
|
|
|
|
setTimeout(() => {
|
|
|
|
setTimeout(() => {
|
|
|
|
const key = this.$route.fullPath
|
|
|
|
const key = this.$route.fullPath
|
|
|
|
|
|
|
|
|
|
|
|
const detailsChange = this.needSavePages[key] ? !!this.needSavePages[key].details : false
|
|
|
|
const detailsChange = Object.keys(this.needSavePages).includes(key) ? !!this.needSavePages[key].details : false
|
|
|
|
this.checkSaveFun({ type: 'details', hasChange: detailsChange })
|
|
|
|
this.checkSaveFun({ type: 'details', hasChange: detailsChange })
|
|
|
|
|
|
|
|
|
|
|
|
const hbListChange = !!this.needSavePages[key].hbList
|
|
|
|
const hbListChange = !!this.needSavePages[key].hbList
|
|
|
@ -711,7 +710,7 @@ export default {
|
|
|
|
setTimeout(() => {
|
|
|
|
setTimeout(() => {
|
|
|
|
const key = this.$route.fullPath
|
|
|
|
const key = this.$route.fullPath
|
|
|
|
|
|
|
|
|
|
|
|
const detailsChange = this.needSavePages[key] ? !!this.needSavePages[key].details : false
|
|
|
|
const detailsChange = Object.keys(this.needSavePages).includes(key) ? !!this.needSavePages[key].details : false
|
|
|
|
this.checkSaveFun({ type: 'details', hasChange: detailsChange })
|
|
|
|
this.checkSaveFun({ type: 'details', hasChange: detailsChange })
|
|
|
|
|
|
|
|
|
|
|
|
const hbListChange = !!this.needSavePages[key].hbList
|
|
|
|
const hbListChange = !!this.needSavePages[key].hbList
|
|
|
|