【fix】优化代码

This commit is contained in:
黄少君
2024-02-22 18:37:23 +08:00
parent 17c043348a
commit f8fac0a5bc
246 changed files with 973 additions and 406 deletions

View File

@ -13,7 +13,7 @@ import { wxLogin } from "@/utils/wechatUtils";
import { ref } from "vue";
import { useInterface } from "@/hooks/useInterface";
import { privacyAgreementUrl, userAgreementUrl, weixinLogin } from "@/api/auth";
import { useMainStore } from "@/store/store";
import { useMainStore } from "@/store/modules/useMainStore";
import { afterLogin } from "@/utils";
const {toast, loading, hideLoading} = useInterface()
@ -119,10 +119,10 @@ function toAgreement(type) {
class="button animation-button disabled"
@click="checkPrivacy"
>
<!-- <image-->
<!-- class="icon"-->
<!-- :src="wechat"-->
<!-- />-->
<!-- <image-->
<!-- class="icon"-->
<!-- :src="wechat"-->
<!-- />-->
一键登录
</view>
<button
@ -132,10 +132,10 @@ function toAgreement(type) {
@getphonenumber="getPhoneNumber"
@click="getCode"
>
<!-- <image-->
<!-- class="icon"-->
<!-- :src="wechat"-->
<!-- />-->
<!-- <image-->
<!-- class="icon"-->
<!-- :src="wechat"-->
<!-- />-->
一键登录
</button>
<!-- #endif -->