修改Excel地址

main
jinna 3 years ago
parent 9abbb1a6ef
commit 8281d27ea8
  1. 2
      src/views/dashboard/home.vue

@ -336,7 +336,7 @@ export default {
this.getTime(); this.getTime();
}, },
mounted() { mounted() {
this.readExcelFile("http://192.168.1.35:8080/excel/wuliu.xlsx"); this.readExcelFile("http://"+location.host+"/excel/wuliu.xlsx");
queryWeath().then((res) => { queryWeath().then((res) => {
this.temp = res.result.now.temp; this.temp = res.result.now.temp;
this.weather = res.result.now.text; this.weather = res.result.now.text;

Loading…
Cancel
Save