fix(projects): 目录类型禁用iframe选项

This commit is contained in:
AN 2025-06-18 17:06:13 +08:00
parent 0ac0a093a4
commit 72b8f56e32

View File

@ -225,6 +225,15 @@ async function handleSubmit() {
emit('submitted', menuType!);
}
watch(
() => model.menuType,
newType => {
if (newType === 'M') {
model.isFrame = '1';
}
}
);
watch(visible, () => {
if (visible.value) {
handleInitModel();
@ -314,6 +323,7 @@ function onCreate() {
:key="option.value"
:value="option.value"
:label="option.label"
:disabled="option.value === '2' && isCatalog"
/>
</NSpace>
</NRadioGroup>