[统一分享格式]

This commit is contained in:
2021-10-29 16:35:43 +08:00
parent 0682a04664
commit b3690d82a8
3 changed files with 9 additions and 11 deletions

View File

@@ -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