Merge pull request #104 from Jiangmenghao/vue-h5-template

fix: 修复useAxiosApi在打包后Toast失效的问题
This commit is contained in:
fonghehe 2022-10-06 18:50:31 +08:00 committed by GitHub
commit 9d9e41f12a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
import { useAxios } from '@vueuse/integrations/useAxios';
import axios, { AxiosRequestConfig } from 'axios';
import Toast from 'vant/lib/toast';
import { Toast } from 'vant/lib/toast';
// create an axios instance
const instance = axios.create({