From fbb44958a65c17ddb3f9187a9bb18180d1cf9299 Mon Sep 17 00:00:00 2001 From: dhy1725534722 <1725534722@qq.com> Date: Fri, 11 Aug 2023 10:15:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 10 +++-- .../productsMsg/components/productInfo.vue | 17 +++----- src/views/productsMsg/index.vue | 41 +++++++++++++++---- 3 files changed, 45 insertions(+), 23 deletions(-) diff --git a/src/App.vue b/src/App.vue index e644922..f738cc4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -23,10 +23,12 @@ export default { }, }; }, - mounted(){ - - - } + mounted() { + setTimeout(async () => { + let msg1 = await this.$api.toLogin.frimLogin(); + localStorage.setItem("MSSM-LIAONING__TOKEN", msg1.data.result.userToken); + }, 100); + }, };