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 })