Commit 8cd41c8c by 潘建波

🐛 修改设备类型重复问题

1 parent 5acf2840
No preview for this file type
{"commit":"650cce551cec50bef5d7b6deed8d5677f6015c32","commitDate":"2020-7-6 16:28","buildDate":"2020-7-6 16:30","version":"2.0.4","info":"增加打包版本信息"}
\ No newline at end of file \ No newline at end of file
{"commit":"5acf284075d646461f9a782829fe9d471c4c8fb0","commitDate":"2020-7-7 18:29","buildDate":"2020-7-8 10:39","version":"2.0.4","info":"feat✨ 任务设置增加10条分页,增加滚动控制修改任务后滚动条还在当前的位置"}
\ No newline at end of file \ No newline at end of file
...@@ -200,9 +200,19 @@ export default { ...@@ -200,9 +200,19 @@ export default {
getFress() { getFress() {
if (this.freeList && this.freeList.length > 0) { if (this.freeList && this.freeList.length > 0) {
var freeArr = []; var freeArr = [];
let that = this;
this.freeList.forEach(ele => { this.freeList.forEach(ele => {
if (ele.license_info && ele.license_info.platType) { if (ele.license_info && ele.license_info.platType) {
this.platT.push(ele.license_info.platType); console.log(this.platT)
if (that.platT.length == 0) {
that.platT.push(ele.license_info.platType);
}
for (let i = 0; i < that.platT.length; i++) {
if (that.platT[i] != ele.license_info.platType) {
that.platT.push(ele.license_info.platType);
break;
}
}
} }
}); });
} }
......
const fs = require("fs"); const fs = require("fs");
const vinfopath = "./public/js/version.json"; const vinfopath = "./public/js/version.json";
const BuildInfo = require("./version.js"); const BuildInfo = require("./version.js");
console.log(BuildInfo);
const BundleAnalyzerPlugin = require("webpack-bundle-analyzer") const BundleAnalyzerPlugin = require("webpack-bundle-analyzer")
.BundleAnalyzerPlugin; .BundleAnalyzerPlugin;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!