Compare commits
No commits in common. "84698cb09713715a0a09a57288735873083f49b7" and "5850bdee9459825a3a7c923de5900e1e75a0a357" have entirely different histories.
84698cb097
...
5850bdee94
@ -100,10 +100,6 @@ router.beforeEach(async(to, from, next) => {
|
|||||||
}
|
}
|
||||||
if(!token){
|
if(!token){
|
||||||
let unionid='';
|
let unionid='';
|
||||||
let platform_key='123456';
|
|
||||||
if(import.meta.env.MODE==='production') {
|
|
||||||
platform_key='dk&*dj1P'
|
|
||||||
};
|
|
||||||
let userInfo=cookie.readCookie('wechat_user_info');
|
let userInfo=cookie.readCookie('wechat_user_info');
|
||||||
let videoToken=cookie.readCookie('video_token');
|
let videoToken=cookie.readCookie('video_token');
|
||||||
if(userInfo){
|
if(userInfo){
|
||||||
@ -111,7 +107,7 @@ router.beforeEach(async(to, from, next) => {
|
|||||||
unionid=json.unionid;
|
unionid=json.unionid;
|
||||||
const {data,code}=await api.login({
|
const {data,code}=await api.login({
|
||||||
source:2,
|
source:2,
|
||||||
platform_key:platform_key,
|
platform_key:123456,
|
||||||
unionid:unionid?unionid:'',
|
unionid:unionid?unionid:'',
|
||||||
user_iden:to.query.uuid?to.query.uuid:'',
|
user_iden:to.query.uuid?to.query.uuid:'',
|
||||||
})
|
})
|
||||||
|
|||||||
@ -13,7 +13,7 @@
|
|||||||
<totop></totop>
|
<totop></totop>
|
||||||
<back></back>
|
<back></back>
|
||||||
</div>
|
</div>
|
||||||
<!-- < ref="ImagePreview" v-model:show="showImg" closeable :images="imgList" @change="onChange">
|
<!-- <van-image-preview ref="ImagePreview" v-model:show="showImg" closeable :images="imgList" @change="onChange">
|
||||||
|
|
||||||
</van-image-preview> -->
|
</van-image-preview> -->
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user