hejianhao
7 天以前 12ab5a3990d94cd138b29364df70c1771e06d23c
优化
2个文件已修改
4 ■■■■ 已修改文件
package.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/view/home/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
package.json
@@ -32,7 +32,7 @@
    "@vue/cli-plugin-babel": "^3.11.0",
    "@vue/cli-service": "^3.12.1",
    "autoprefixer": "^9.8.8",
    "babel-plugin-component": "^1.1.1",
    "babel-plugin-component": "^1.1.1",
    "less": "^3.0.4",
    "less-loader": "^5.0.0",
    "postcss": "^7.0.39",
src/view/home/index.vue
@@ -401,7 +401,7 @@
    async getWarnListData() {
      try {
        const res = await getCarWarnList({ pageNum: 1, pageSize: 100000, startTime: moment().format('YYYY-MM-DD 00:00:00'), endTime: moment().format('YYYY-MM-DD 23:59:59') });
        this.warnList = res.records;
        this.warnList = res.page.records;
      } catch (error) {
        this.$message.error("获取预警列表数据失败");
      }