update
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ instance.interceptors.response.use(response => {
|
|||||||
return response.data.data;
|
return response.data.data;
|
||||||
}
|
}
|
||||||
if(response.data.code === 100007){
|
if(response.data.code === 100007){
|
||||||
location.href = '/api/wx/oauth'
|
location.href = '/api/wx/oauth?jumpUrl='+encodeURIComponent(location.href)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if(response.data.code === 1000023){
|
if(response.data.code === 1000023){
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ export default {
|
|||||||
|
|
||||||
this.wechatReady({
|
this.wechatReady({
|
||||||
...data.shareConfig,
|
...data.shareConfig,
|
||||||
link: location.href,
|
link: location.href + '&jumpUrl=https://baidu.com',
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getMeritBox, getOrderCompare } from '@/api';
|
import { getMeritBox, } from '@/api';
|
||||||
import { swiper, swiperSlide } from 'vue-awesome-swiper';
|
import { swiper, swiperSlide } from 'vue-awesome-swiper';
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user