Skip to content

Commit a99fe12

Browse files
fix(wxt): fillsummary testDate
1 parent 2697e42 commit a99fe12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/wxt/entrypoints/fillSummary.content.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ async function entrypoint() {
305305
mass: String(matchBatteryWeight('为' + summaryInfo.mass)),
306306
licontent: licontent === '0' ? '' : licontent,
307307
testReportNo: summaryInfo.testReportNo,
308-
testDate: summaryInfo.testDate,
308+
testDate: summaryInfo.testDate.replace(/\./g, '-'),
309309
testManual: matchTestManualMap[testManual as keyof typeof matchTestManualMap] ?? '',
310310
test1: summaryInfo.test1.includes('通过'),
311311
test2: summaryInfo.test2.includes('通过'),

0 commit comments

Comments
 (0)