From a7028d89fc756f67ca4fc2db66bdaf273e1681b8 Mon Sep 17 00:00:00 2001 From: "@jyuhsin" <729757837@qq.com> Date: Thu, 18 Dec 2025 13:05:11 +0800 Subject: [PATCH] commit --- .../resources/static/components/plugins/sysSignature/pc.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/static/components/plugins/sysSignature/pc.vue b/src/main/resources/static/components/plugins/sysSignature/pc.vue index 9f3ac94..415b4da 100644 --- a/src/main/resources/static/components/plugins/sysSignature/pc.vue +++ b/src/main/resources/static/components/plugins/sysSignature/pc.vue @@ -51,7 +51,6 @@ module.exports = { this.$emit("input", this.signatureContent) } this.signatureAddress = origin + "/platform/signature/scanPcCode?id=" + this.id - console.log(this.signatureAddress) }, signatureAgain() { const val = sessionStorage.getItem("h5-scan-code-signature-" + this.id) @@ -59,8 +58,8 @@ module.exports = { this.$emit("input", val) } }, - mounted() { - this.init() + async mounted() { + await this.init() webSocketPubSub.subscribe("h5-scan-code-signature", (data) => { console.info("ws:收到签字成功消息:", data) this.signatureContent = data.value @@ -72,6 +71,7 @@ module.exports = { if (webSocketPubSub.ws && webSocketPubSub.ws.readyState === WebSocket.OPEN) { console.info("ws.readyState is open"); this.loading = false; + console.log(this.signatureAddress) } else { setTimeout(checkReady, 100); }