Commit 4c9219de authored by yyh's avatar yyh

发送验证码去掉loading

parent 523d8be7
...@@ -90,7 +90,7 @@ instance.interceptors.request.use( ...@@ -90,7 +90,7 @@ instance.interceptors.request.use(
// 而后我们可以在响应拦截器中,根据状态码进行一些统一的操作。 // 而后我们可以在响应拦截器中,根据状态码进行一些统一的操作。
// token && (config.headers.Authorization = token); // token && (config.headers.Authorization = token);
const url = config.url as string; const url = config.url as string;
if (url.indexOf('list') < 0 ) { if (url.indexOf('list') < 0 || url.indexOf('sendSms') < 0) {
loading = Toast({ loading = Toast({
type: 'loading', type: 'loading',
duration: 0, duration: 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment