From e499960a4f186f1a526899ee985ce0b48ba69fac Mon Sep 17 00:00:00 2001 From: lohir <3399054449@qq.com> Date: 星期二, 22 十月 2024 17:33:40 +0800 Subject: [PATCH] 完成运维考核-工单白名单-列表展示 --- src/views/tool/online/index.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/views/tool/online/index.vue b/src/views/tool/online/index.vue index 0111d58..e397ba4 100644 --- a/src/views/tool/online/index.vue +++ b/src/views/tool/online/index.vue @@ -22,6 +22,7 @@ <el-image style="width: 100px; height: 100px" :src="result.img" + :preview-src-list="[result.img]" fit="fill"> </el-image> </div> @@ -98,6 +99,9 @@ this.form.ip = this.form.ip.replace(/^\s+|\s+$/g, '') this.loading = true check(this.form).then(res => { + if (res.data.img) { + res.data.img = this.$img + res.data.img + } this.result = res.data this.loading = false }) -- Gitblit v1.8.0