This commit is contained in:
2022-02-15 16:47:14 +08:00
parent d5b8f1b930
commit 442fea23f5
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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){
+1 -1
View File
@@ -66,7 +66,7 @@ export default {
this.wechatReady({ this.wechatReady({
...data.shareConfig, ...data.shareConfig,
link: location.href, link: location.href + '&jumpUrl=https://baidu.com',
}) })
}, },
+1 -1
View File
@@ -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
View File
File diff suppressed because one or more lines are too long