报错,开发运行环境不存在,
发行环境存在
这个问题在 4月6日 是没有的。
const login_popup_ref = ref(null)
const loginPopupRef = (e) => {
console.log(e)
console.log(login_popup_ref)
login_popup_ref.value = e
console.log(login_popup_ref)
login_popup_ref.value.open('center')
}
<uni-popup :ref="loginPopupRef" background-color="#ffffff00" @change="loginChange">
<view class="login_popup_wrapper">
<view class="top_blank_wrapper"></view>
<view class="login_popup_text_wrapper">
<view class="login_popup_text_title_wrapper">您还未登录</view>
<view class="login_popup_text_tip_wrapper">(请先登录在进行此操作)</view>
</view>
<button class="login_popup_button_wrapper" :loading="login_loading" open-type="getUserInfo"
@getuserinfo="wxGetUserInfo" withCredentials="true">
<view>微信快捷登录</view>
</button>
<view @click="login_show = false" class="login_popup_cancel_button_wrapper">暂不登录</view>
</view>
</uni-popup>