From 4c81a2e5def3a9e69f00750ecd0a23551c1c047f Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Mon, 30 Jun 2025 17:53:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- root/detail/job.vue | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/root/detail/job.vue b/root/detail/job.vue index beb11ce..85466c8 100644 --- a/root/detail/job.vue +++ b/root/detail/job.vue @@ -703,14 +703,9 @@ export default { this.IS_CREATOR = uni.getStorageSync("IS_CREATOR") == 1 ? true : false; console.log("this.IS_CREATOR", this.IS_CREATOR); this.corpUserFlag = uni.getStorageSync("apply-userinfo").corpUserFlag; - this.getIgnore(); - uni.getSystemInfo({ - success: function (res) { - console.log(res); - that.wxPlat = res.hostName; - }, - }); - this.getDetail().then((res) => { + if(uni.getStorageSync("apply-token")){ + this.getIgnore(); + this.getDetail().then((res) => { console.log("res", res); let objMiddle = res.cozeStructureRes ? JSON.parse(res.cozeStructureRes) : {}; // let objMiddle = JSON.parse(res.cozeStructureRes); @@ -746,6 +741,14 @@ export default { }); this.toKnowInfo(res.agencyId); }); + } + uni.getSystemInfo({ + success: function (res) { + console.log(res); + that.wxPlat = res.hostName; + }, + }); + }, methods: {