Skip to content

Commit ecfaa79

Browse files
committed
fix: add missing import for Snackbar
1 parent 0f53ce9 commit ecfaa79

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vue3-varlet-mobile",
33
"type": "module",
44
"version": "1.0.0",
5-
"packageManager": "[email protected].0",
5+
"packageManager": "[email protected].1",
66
"description": "Vue + Vite H5 Starter Template",
77
"license": "MIT",
88
"scripts": {

src/utils/request.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type { AxiosError, InternalAxiosRequestConfig } from 'axios'
22
import axios from 'axios'
3+
import { Snackbar } from '@varlet/ui'
34
import { localStorage } from '@/utils/local-storage'
45
import { STORAGE_TOKEN_KEY } from '@/stores/mutation-type'
56

0 commit comments

Comments
 (0)