From 8281d27ea832ad20cfec431545bd209b298895d2 Mon Sep 17 00:00:00 2001 From: jinna Date: Sun, 29 Jan 2023 09:17:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Excel=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/home.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/dashboard/home.vue b/src/views/dashboard/home.vue index 94543f8..9d2729f 100644 --- a/src/views/dashboard/home.vue +++ b/src/views/dashboard/home.vue @@ -336,7 +336,7 @@ export default { this.getTime(); }, mounted() { - this.readExcelFile("http://192.168.1.35:8080/excel/wuliu.xlsx"); + this.readExcelFile("http://"+location.host+"/excel/wuliu.xlsx"); queryWeath().then((res) => { this.temp = res.result.now.temp; this.weather = res.result.now.text;