|
@@ -352,11 +352,11 @@ export const matchVoicePart = (id: number | string, type: "SINGLE" | "CONCERT"):
|
|
let pitchKey = sKey;
|
|
let pitchKey = sKey;
|
|
if (typeof sKey === "string" && isNaN(Number(sKey)) ) {
|
|
if (typeof sKey === "string" && isNaN(Number(sKey)) ) {
|
|
pitchKey = pitchKey.toLocaleLowerCase().replace(/ /g, "");
|
|
pitchKey = pitchKey.toLocaleLowerCase().replace(/ /g, "");
|
|
- pitchKey = pitchKey.replace(/[_0-9]+$/, '');
|
|
|
|
|
|
+ pitchKey = pitchKey.replace(/[_0-9.]+$/, '');
|
|
}
|
|
}
|
|
if (typeof sKey === "string") {
|
|
if (typeof sKey === "string") {
|
|
// 去掉声轨后面的数字
|
|
// 去掉声轨后面的数字
|
|
- code = code.replace(/[_0-9]+$/, '');
|
|
|
|
|
|
+ code = code.replace(/[_0-9.]+$/, '');
|
|
}
|
|
}
|
|
if (pitchKey === code) {
|
|
if (pitchKey === code) {
|
|
_track = subject[sKey];
|
|
_track = subject[sKey];
|