@@ -839,6 +839,7 @@ export default {
|
||||
onLoad(options) {
|
||||
const id = options.id || ''
|
||||
this.id = id
|
||||
|
||||
if (id) {
|
||||
this.partnerId = options.partnerId || null
|
||||
} else {
|
||||
@@ -847,6 +848,7 @@ export default {
|
||||
const query = options ? decodeURIComponent(options.scene) : decodeURIComponent(obj.query.scene)
|
||||
this.partnerId = getUrlParam(query, 'partnerId') || null
|
||||
this.id = getUrlParam(query, 'id') || null
|
||||
|
||||
}
|
||||
}
|
||||
if (this.partnerId) cookie.set('spread', this.partnerId)
|
||||
|
||||
Reference in New Issue
Block a user