修改读取的Excel地址

main
jinna 3 years ago
parent 4afb535c30
commit 9abbb1a6ef
  1. 2
      src/views/dashboard/homepage.vue

@ -272,7 +272,7 @@ export default {
},
created() {
this.getTime();
this.readExcelFile("http://192.168.1.35:8080/excel/wuliu.xlsx");
this.readExcelFile("http://"+location.host+"/excel/wuliu.xlsx");
// this.readExcelFile("/excelapi/ces.xlsx");
this.$nextTick(() => {
this.createCharts();

Loading…
Cancel
Save