89
chenyc
2022-09-09 68e00d8b484c5c2caa8abec5020e19354a299f5e
89
1个文件已修改
4 ■■■■ 已修改文件
src/views/home/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/index.vue
@@ -1,6 +1,6 @@
<script lang="ts" setup>
    import { onMounted,computed } from 'vue'
    import { ajaxPost } from '@/utils/axios'
    import { ajaxGet } from '@/utils/axios'
    import { useCounterStore } from '@/stores/counter'
    import { Button  } from 'vant'
    import {useRoute} from 'vue-router'
@@ -22,7 +22,7 @@
        const queryInfo=router.query
        const {code}=queryInfo
        if (code){
            ajaxPost('wechat/code',`code=${code}`).then((re:any)=>{
            ajaxGet('wechat/code',`code=${code}`).then((re:any)=>{
                console.log(re)
            })
        }