Showing
1 changed file
with
3 additions
and
3 deletions
| 1 | /* | 1 | /* |
| 2 | * @Date: 2022-05-18 22:56:08 | 2 | * @Date: 2022-05-18 22:56:08 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-11-11 13:31:09 | 4 | + * @LastEditTime: 2025-11-12 16:42:17 |
| 5 | * @FilePath: /stdj_h5/src/api/fn.js | 5 | * @FilePath: /stdj_h5/src/api/fn.js |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | */ | 7 | */ |
| 8 | import axios from '@/utils/axios'; | 8 | import axios from '@/utils/axios'; |
| 9 | -import { showFailToast } from 'vant'; | 9 | +import { showFailToast, showToast } from 'vant'; |
| 10 | import qs from 'Qs' | 10 | import qs from 'Qs' |
| 11 | 11 | ||
| 12 | /** | 12 | /** |
| ... | @@ -23,7 +23,7 @@ export const fn = (api) => { | ... | @@ -23,7 +23,7 @@ export const fn = (api) => { |
| 23 | // tslint:disable-next-line: no-console | 23 | // tslint:disable-next-line: no-console |
| 24 | console.warn(res); | 24 | console.warn(res); |
| 25 | // if (!res.data.show) return false; | 25 | // if (!res.data.show) return false; |
| 26 | - showFailToast(res.data.msg); | 26 | + showToast(res.data.msg); |
| 27 | return false; | 27 | return false; |
| 28 | } | 28 | } |
| 29 | }) | 29 | }) | ... | ... |
-
Please register or login to post a comment