From 5d37873db34faf120001ec65d560dd6c4a8766ed Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Tue, 26 Mar 2024 17:14:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/photographicDevice/components/pictureTags.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/photographicDevice/components/pictureTags.vue b/src/views/photographicDevice/components/pictureTags.vue index 0e6b5a0..07dc254 100644 --- a/src/views/photographicDevice/components/pictureTags.vue +++ b/src/views/photographicDevice/components/pictureTags.vue @@ -170,8 +170,8 @@ export default { .then((res) => { console.log(res); this.markId = res.data.markId; - this.color = res.data.color; - this.num = res.data.boderWidth; + this.color = res.data.color !== null ? res.data.color : "#f00"; + this.num = res.data.boderWidth !== null ? res.data.boderWidth : 2; if (res.data.path !== null) { this.picsrc = res.data.path; if (res.data.list.length !== 0) {