From 2f3ed8493285728d0f83d50f3a342dbad5a06f9f Mon Sep 17 00:00:00 2001 From: hcong <1050828145@qq.com> Date: 星期二, 22 十月 2024 10:38:27 +0800 Subject: [PATCH] 问题修改乱码bug --- src/views/fysp/check/components/CompDevicePhono.vue | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/views/fysp/check/components/CompDevicePhono.vue b/src/views/fysp/check/components/CompDevicePhono.vue index 3900fa0..373e97e 100644 --- a/src/views/fysp/check/components/CompDevicePhono.vue +++ b/src/views/fysp/check/components/CompDevicePhono.vue @@ -90,9 +90,6 @@ } }, mounted() { - if (this.defaultFile == undefined || this.defaultFile == null) { - this.defaultFile = []; - } this.initImgUrlList(); }, methods: { @@ -139,11 +136,11 @@ if (this.readonly) { return; } - img.isSelect = !Boolean(img.isSelect); + img.isSelect = !img.isSelect; }, sendSelectedImg(isOk) { let result = []; - if (!Boolean(isOk)) { + if (!isOk) { this.$emit('selectPhonoEvent', result); } for (const item of this.imgPathsDataSourceCopy) { -- Gitblit v1.9.3