|
@@ -16,7 +16,7 @@ async function getLibs(query) {
|
|
|
async function createLib(name, period, compilationID) {
|
|
|
// 将2020-01变成2020年01月
|
|
|
const reg = /(\d{4})-(\d{2})/;
|
|
|
- const formattedPeriod = period.replace(reg, '$1年$2月');
|
|
|
+ const formattedPeriod = period.replace(reg, '$1年-$2月');
|
|
|
const lib = {
|
|
|
ID: uuidV1(),
|
|
|
name,
|