【fix】优化代码
This commit is contained in:
@ -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 -->
|
||||
|
Reference in New Issue
Block a user