From 4260da6a8b15cc3fd8dfb254ba3a078b1d7c596a Mon Sep 17 00:00:00 2001 From: hcong <1050828145@qq.com> Date: 星期二, 26 十一月 2024 14:28:05 +0800 Subject: [PATCH] 1. socket生命周期监听、断线重连、心跳检测 2. socket消息校验、生成、解析 3. 观察者模式分发消息 --- src/views/fysp/evaluation/components/precheck/components/CompCheckExemption.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/fysp/evaluation/components/precheck/components/CompCheckExemption.vue b/src/views/fysp/evaluation/components/precheck/components/CompCheckExemption.vue index f9195e4..5578e54 100644 --- a/src/views/fysp/evaluation/components/precheck/components/CompCheckExemption.vue +++ b/src/views/fysp/evaluation/components/precheck/components/CompCheckExemption.vue @@ -23,15 +23,17 @@ // 姝ラ涓嬫爣 modelValue: Number }, - emits: ['update:modelValue'], + emits: ['update:modelValue', 'change'], data() { return { - + // 璞佸厤鏉$洰 + exemptionItems: [] }; }, methods: { // 璺宠浆涓嬩竴姝� nextStep() { + this.$emit('change', this.exemptionItems); this.$emit('update:modelValue', this.modelValue + 1); }, // 璺宠浆涓嬩竴姝� -- Gitblit v1.9.3