mirror of
https://github.com/sunniejs/vue-h5-template.git
synced 2025-04-05 19:42:08 +08:00
Merge pull request #104 from Jiangmenghao/vue-h5-template
fix: 修复useAxiosApi在打包后Toast失效的问题
This commit is contained in:
commit
9d9e41f12a
@ -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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user