[统一分享格式]
This commit is contained in:
4
App.vue
4
App.vue
@@ -33,7 +33,7 @@
|
||||
if(res.data.indexOf('$InviTaTiOn$CoDe/$-?') === 2){
|
||||
let parentId = res.data.replace('$InviTaTiOn$CoDe/$-?', '')
|
||||
this.globalData.parentId = parentId.substr(0, 10)
|
||||
if(res.data.indexOf('&GoodsId/$-?') === 30){
|
||||
if(res.data.indexOf('^GoodsId/$-?') === 30){
|
||||
let goodsId = res.data.substr(42, res.data.length - 1)
|
||||
setTimeout(() => {
|
||||
if(this.$Route.name === 'goodsDetails' && this.$Route.query.id === goodsId) return
|
||||
@@ -43,7 +43,7 @@
|
||||
return
|
||||
}
|
||||
// 不包含用户信息
|
||||
if(res.data.indexOf('&GoodsId/$-?') > -1){
|
||||
if(res.data.indexOf('^GoodsId/$-?') > -1){
|
||||
let goodsId = res.data.substr(12, res.data.length - 1)
|
||||
setTimeout(() => {
|
||||
if(this.$Route.name === 'goodsDetails' && this.$Route.query.id === goodsId) return
|
||||
|
||||
Reference in New Issue
Block a user