Skip to content

Commit 0dbc893

Browse files
committed
chore: 允许谱面异常时切换启用开关
1 parent 61828a7 commit 0dbc893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MaiChartManager/Front/src/components/MusicEdit/ChartPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default defineComponent({
4444
</NFlex>
4545
<NFormItem label="启用" labelPlacement="left" class="ml-2px">
4646
<NFlex align="center">
47-
<NSwitch v-model:value={props.chart.enable} disabled={!!props.chart.problems?.length}/>
47+
<NSwitch v-model:value={props.chart.enable}/>
4848
<ProblemsDisplay problems={props.chart.problems!}/>
4949
</NFlex>
5050
</NFormItem>

0 commit comments

Comments
 (0)