|
@@ -204,6 +204,7 @@ export default {
|
|
|
if (!this.detail) {
|
|
|
await Add({
|
|
|
...this.form,
|
|
|
+ musicScoreCategoriesId: (this.form.sysMusicScore.musicScoreCategoriesId || []).pop(),
|
|
|
sysMusicScore: {
|
|
|
...this.form.sysMusicScore,
|
|
|
type: 'COMMON',
|
|
@@ -213,6 +214,7 @@ export default {
|
|
|
} else {
|
|
|
await Update({
|
|
|
...this.form,
|
|
|
+ musicScoreCategoriesId: (this.form.sysMusicScore.musicScoreCategoriesId || []).pop(),
|
|
|
sysMusicScore: {
|
|
|
...this.form.sysMusicScore,
|
|
|
type: 'COMMON',
|