whychdw
2021-10-26 f3a5580ddb77f7a127b8abc7b27a1cd22a2e951a
添加内容
3个文件已修改
9 ■■■■■ 已修改文件
src/assets/js/config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/weatherComponent/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/js/config.js
@@ -39,7 +39,7 @@
    weather: {
        label: '天气预报',
        des: '启动充放电测试使用人脸识别',
        value: false,
        value: true,
    },
    bigScreen: {
        label: '大屏数据展示',
src/components/weatherComponent/index.vue
@@ -108,8 +108,8 @@
                        let list = rs.data2.map(item=>{
                            let tmp = {
                                date: new Date(item.date).format("yyyy-MM-dd"),
                                temperature: item.temperature,
                                weather: item.weather
                                temperature: item.temperatureLow+"~"+item.temperatureHigh+"℃",
                                weather: item.infoNight
                            };
                            return tmp
                        });
vue.config.js
@@ -25,7 +25,8 @@
        }
    },
    devServer: {
        https: false
        https: false,
        disableHostCheck: true,
    },
    chainWebpack: (config) => {
        config.module.rule('swf')