|
@@ -91,6 +91,7 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</u-modal>
|
|
</u-modal>
|
|
|
|
+
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
@@ -104,7 +105,6 @@ import { useStores, commonStores, xunJianStores } from "@/store/modules/index";
|
|
/*----------------------------------公共方法引入-----------------------------------*/
|
|
/*----------------------------------公共方法引入-----------------------------------*/
|
|
import config from "@/config";
|
|
import config from "@/config";
|
|
import { storageSystem } from "@/utils/storage";
|
|
import { storageSystem } from "@/utils/storage";
|
|
-import { decrypt, encrypt } from "@/plugins/jsencrypt";
|
|
|
|
/*----------------------------------公共变量-----------------------------------*/
|
|
/*----------------------------------公共变量-----------------------------------*/
|
|
const { proxy } = getCurrentInstance();
|
|
const { proxy } = getCurrentInstance();
|
|
const useStore = useStores();
|
|
const useStore = useStores();
|
|
@@ -259,7 +259,7 @@ function submitRes() {
|
|
|
|
|
|
/** 获取登录数据 */
|
|
/** 获取登录数据 */
|
|
function login(data) {
|
|
function login(data) {
|
|
- proxy.$modal.loading(data?.form == "xcx" ? "加载中,请耐心等待..." : "登录中,请耐心等待...");
|
|
|
|
|
|
+ proxy.$modal.loading( "登录中,请耐心等待...");
|
|
|
|
|
|
useStore.Login(data).then(() => {
|
|
useStore.Login(data).then(() => {
|
|
/** 获取用户信息 */
|
|
/** 获取用户信息 */
|
|
@@ -300,13 +300,6 @@ function handlePrivacy() {
|
|
onShow(() => {
|
|
onShow(() => {
|
|
init();
|
|
init();
|
|
});
|
|
});
|
|
-
|
|
|
|
-onLoad((options) => {
|
|
|
|
- //微信小程序跳转
|
|
|
|
- if (options.xcxData) {
|
|
|
|
- login(JSON.parse(decrypt(decodeURIComponent(options.xcxData))))
|
|
|
|
- }
|
|
|
|
-});
|
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|