|
@@ -45,8 +45,10 @@ var dataBaseShare = {
|
|
|
},
|
|
|
updateStatus() {
|
|
|
const params = JSON.parse(window.sessionStorage.getItem('saveParams'))
|
|
|
+ const userInfo = JSON.parse(window.localStorage.getItem('userInfo'))
|
|
|
+ const link = isDev ? 'https://material-b.caimei365.com' : 'https://material.caimei365.com'
|
|
|
setTimeout(() => {
|
|
|
- window.location.href = `${link}/preview?t=${params.t}&id=${params.id}&uid=${res.data.userId}&spId=${params.spId}`
|
|
|
+ window.location.href = `${link}/preview?t=${params.t}&id=${params.id}&uid=${userInfo.userId}&spId=${params.spId}`
|
|
|
}, 1000)
|
|
|
}
|
|
|
}
|