From 7d068e81ea1d88f708f096ea62c769452385612e Mon Sep 17 00:00:00 2001
From: lohir <3399054449@qq.com>
Date: 星期四, 24 十月 2024 15:33:32 +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