✨ 全局:清理多余的 request2.js
This commit is contained in:
@@ -3,7 +3,7 @@ import $helper from '@/sheep/helper';
|
||||
import dayjs from 'dayjs';
|
||||
import { ref } from 'vue';
|
||||
import test from '@/sheep/helper/test.js';
|
||||
import $api from '@/sheep/api';
|
||||
import AuthUtil from '@/sheep/api/member/auth';
|
||||
|
||||
// 打开授权弹框
|
||||
export function showAuthModal(type = 'smsLogin') {
|
||||
@@ -94,7 +94,7 @@ export function getSmsCode(event, mobile) {
|
||||
scene = 1;
|
||||
break;
|
||||
}
|
||||
$api.AuthUtil.sendSmsCode(mobile, scene).then((res) => {
|
||||
AuthUtil.sendSmsCode(mobile, scene).then((res) => {
|
||||
if (res.code === 0) {
|
||||
modalStore.$patch((state) => {
|
||||
state.lastTimer[event] = dayjs().unix();
|
||||
|
||||
Reference in New Issue
Block a user