Commit 1f793c16 by yancanhua

fix:弹窗优化

1 parent fe46ba2e
import dayjs, {Dayjs} from "dayjs";
import {areaList} from '@vant/area-data';
import { AuthService } from "@/common/AuthService";
const authService = new AuthService();
export default {
// 处理没有数据的占位
......@@ -133,5 +135,19 @@ export default {
}
});
return formattedDates;
},
filterPopup() {
let returnType = 'success'
const accountInfo = authService.getAuthentication();
if (!authService.isLogin()) {
returnType = 'NoLogin'
}
if (accountInfo && accountInfo.accountType === 'COMMON' && accountInfo.certifiedState !== "CERTIFICATING") {
returnType = 'NoAuthentication'
}
return returnType
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!