|
@@ -160,7 +160,8 @@
|
|
backTipShowCount: 0, // 离开页面展示弹窗次数
|
|
backTipShowCount: 0, // 离开页面展示弹窗次数
|
|
successBack: false,
|
|
successBack: false,
|
|
keywords: '',
|
|
keywords: '',
|
|
- wordsMode: ''
|
|
|
|
|
|
+ wordsMode: '',
|
|
|
|
+ isNeedApi: true
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
moreThanSubCount: function () {
|
|
moreThanSubCount: function () {
|
|
@@ -218,9 +219,12 @@
|
|
mounted: function () {
|
|
mounted: function () {
|
|
var type = utils.getParam('type')
|
|
var type = utils.getParam('type')
|
|
var url = utils.getParam('url')
|
|
var url = utils.getParam('url')
|
|
-
|
|
|
|
|
|
+ var sub = utils.getParam('sub')
|
|
var keywords = utils.getParam('keywords')
|
|
var keywords = utils.getParam('keywords')
|
|
this.wordsMode = utils.getParam('wordsMode')
|
|
this.wordsMode = utils.getParam('wordsMode')
|
|
|
|
+ if (sub === 'simple') {
|
|
|
|
+ this.isNeedApi = false
|
|
|
|
+ }
|
|
if (url) {
|
|
if (url) {
|
|
this.params.url = decodeURIComponent(url)
|
|
this.params.url = decodeURIComponent(url)
|
|
}
|
|
}
|
|
@@ -366,6 +370,9 @@
|
|
this.setAreaSelected(area)
|
|
this.setAreaSelected(area)
|
|
if (this.moreThanSubCount) {
|
|
if (this.moreThanSubCount) {
|
|
this.popupTip = true
|
|
this.popupTip = true
|
|
|
|
+ } else if(!this.isNeedApi) {
|
|
|
|
+ sessionStorage.setItem('freeSelectArea', JSON.stringify(area))
|
|
|
|
+ history.back()
|
|
} else {
|
|
} else {
|
|
this.userUpdate(area)
|
|
this.userUpdate(area)
|
|
}
|
|
}
|