update
This commit is contained in:
@@ -6,6 +6,7 @@ import XInput from "../../components/XInput.vue";
|
||||
import SendMsg from "../../components/SendMsg.vue";
|
||||
import Api from "../../api/index.js";
|
||||
import {showToast, toPage, verifyForm} from "../../utils/uils.js";
|
||||
import {onLoad} from "@dcloudio/uni-app";
|
||||
|
||||
const form = reactive({
|
||||
wechat: null,
|
||||
@@ -47,6 +48,11 @@ const success = async () => {
|
||||
showToast(msg);
|
||||
await toPage(`/pages/login/index?showWX=1`);
|
||||
}
|
||||
|
||||
onLoad((options) => {
|
||||
const {invite} = options;
|
||||
form.invite = invite;
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user