fix: 测试计划报告导出为空

This commit is contained in:
chenjianxing 2021-12-24 17:56:32 +08:00 committed by BugKing
parent fc854f3674
commit 9956d40a57
1 changed files with 5 additions and 5 deletions

View File

@ -39,16 +39,16 @@ module.exports = {
template: "src/template/report/plan/share/share-plan-report.html", template: "src/template/report/plan/share/share-plan-report.html",
filename: "share-plan-report.html", filename: "share-plan-report.html",
}, },
planReport: {
entry: "src/template/report/plan/plan-report.js",
template: "src/template/report/plan/plan-report.html",
filename: "plan-report.html",
},
enterpriseReport: { enterpriseReport: {
entry: "src/template/enterprise/share/share-enterprise-report.js", entry: "src/template/enterprise/share/share-enterprise-report.js",
template: "src/template/enterprise/share/share-enterprise-report.html", template: "src/template/enterprise/share/share-enterprise-report.html",
filename: "share-enterprise-report.html", filename: "share-enterprise-report.html",
}, },
planReport: { //这个配置要放最后不然会导致测试计划导出报告没有将css和js引入html原因没具体研究
entry: "src/template/report/plan/plan-report.js",
template: "src/template/report/plan/plan-report.html",
filename: "plan-report.html",
}
}, },
configureWebpack: { configureWebpack: {
devtool: 'source-map', devtool: 'source-map',