From 95c3476ba65f5ec2c9a7b4834fccbddc730630e6 Mon Sep 17 00:00:00 2001
From: lohir <3399054449@qq.com>
Date: 星期三, 23 十月 2024 17:35:54 +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