设置适配。

feature_0521
kevin jiang 6 years ago
parent 72ed974353
commit 0ec4b34b05

@ -142,7 +142,7 @@
} }
}, },
mounted: function () { mounted: function () {
let startDate = this.$moment(new Date()).add(-29, "day").format("YYYY-MM-DD"); let startDate = this.$moment(new Date()).add(-6, "day").format("YYYY-MM-DD");
let endDate = this.$moment(new Date()).format("YYYY-MM-DD"); let endDate = this.$moment(new Date()).format("YYYY-MM-DD");
this.selectDate.push(startDate); this.selectDate.push(startDate);
this.selectDate.push(endDate); this.selectDate.push(endDate);

@ -14,7 +14,7 @@ import TableAnalysis from "@/pages/TableAnalysis";
import AddCustomerTable from "@/pages/analysis/AddCustomerTable"; import AddCustomerTable from "@/pages/analysis/AddCustomerTable";
import ApplyCustomerTable from "@/pages/analysis/ApplyCustomerTable"; import ApplyCustomerTable from "@/pages/analysis/ApplyCustomerTable";
import ZeroExtendDetail from "@/pages/home/ZeroExtendDetail"; import ZeroExtendDetail from "@/pages/home/ZeroExtendDetail";
import CustomerDetail from "@/pages/home/CustomerDetail"; import CustomerDetail from "@/pages/data/CustomerDetail";
import IncreaseData from '@/pages/shop/IncreaseData'; import IncreaseData from '@/pages/shop/IncreaseData';
import IncreaseDataCompany from '@/pages/shop/IncreaseDataCompany'; import IncreaseDataCompany from '@/pages/shop/IncreaseDataCompany';
import IncreaseDataStaff from '@/pages/shop/IncreaseDataStaff'; import IncreaseDataStaff from '@/pages/shop/IncreaseDataStaff';

@ -32,17 +32,5 @@ module.exports = {
// proxy: 'http://192.168.31.177:8312/' // proxy: 'http://192.168.31.177:8312/'
proxy: 'http://localhost:8312/' proxy: 'http://localhost:8312/'
// proxy: 'http://jdxdev.vipgz4.idcfengye.com/' // proxy: 'http://jdxdev.vipgz4.idcfengye.com/'
},
chainWebpack: config => {
config.module
.rule('css')
.test(/\.css$/)
.oneOf('vue')
.resourceQuery(/\?vue/)
.use('px2rem')
.loader('px2rem-loader')
.options({
remUnit: 192
})
} }
} }

Loading…
Cancel
Save