Branch_ccc #10
@ -8,6 +8,9 @@ import AuthUtil from '@/sheep/api/member/auth';
|
|||||||
// 打开授权弹框
|
// 打开授权弹框
|
||||||
export function showAuthModal(type = 'smsLogin') {
|
export function showAuthModal(type = 'smsLogin') {
|
||||||
const modal = $store('modal');
|
const modal = $store('modal');
|
||||||
|
modal.$patch((state) => {
|
||||||
|
state.auth = '';
|
||||||
|
});
|
||||||
if (modal.auth !== '') {
|
if (modal.auth !== '') {
|
||||||
closeAuthModal();
|
closeAuthModal();
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user