update wechat token
This commit is contained in:
parent
89255a09ce
commit
47e824a0eb
|
|
@ -132,7 +132,7 @@ const number = ref("00000");
|
||||||
const num = ref("00000");
|
const num = ref("00000");
|
||||||
const fontSize = ref(0);
|
const fontSize = ref(0);
|
||||||
const rollingTextRef = ref(null);
|
const rollingTextRef = ref(null);
|
||||||
const currentUrl = ref(encodeURIComponent(window.location.href.split("#")[0]));
|
const currentUrl = ref(window.location.href.split("#")[0]);
|
||||||
const form = reactive({
|
const form = reactive({
|
||||||
receiveMobile: "",
|
receiveMobile: "",
|
||||||
smsCode: "",
|
smsCode: "",
|
||||||
|
|
@ -209,7 +209,7 @@ function getNumber() {
|
||||||
const initWechatConfig = async () => {
|
const initWechatConfig = async () => {
|
||||||
try {
|
try {
|
||||||
const response = await wechatConfig({
|
const response = await wechatConfig({
|
||||||
url: decodeURIComponent(currentUrl.value),
|
url: currentUrl.value,
|
||||||
});
|
});
|
||||||
// const config = await response.json();
|
// const config = await response.json();
|
||||||
if (response.code == 200) {
|
if (response.code == 200) {
|
||||||
|
|
|
||||||
|
|
@ -128,7 +128,7 @@ const number = ref("00000");
|
||||||
const num = ref("00000");
|
const num = ref("00000");
|
||||||
const fontSize = ref(0);
|
const fontSize = ref(0);
|
||||||
const rollingTextRef = ref(null);
|
const rollingTextRef = ref(null);
|
||||||
const currentUrl = ref(encodeURIComponent(window.location.href.split("#")[0]));
|
const currentUrl = ref(window.location.href.split("#")[0]);
|
||||||
const form = reactive({
|
const form = reactive({
|
||||||
receiveMobile: "",
|
receiveMobile: "",
|
||||||
smsCode: "",
|
smsCode: "",
|
||||||
|
|
@ -202,7 +202,7 @@ function getNumber() {
|
||||||
const initWechatConfig = async () => {
|
const initWechatConfig = async () => {
|
||||||
try {
|
try {
|
||||||
const response = await wechatConfig({
|
const response = await wechatConfig({
|
||||||
url: decodeURIComponent(currentUrl.value),
|
url: currentUrl.value,
|
||||||
});
|
});
|
||||||
// const config = await response.json();
|
// const config = await response.json();
|
||||||
if (response.code == 200) {
|
if (response.code == 200) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue