fix(projects): 目录类型禁用iframe选项
This commit is contained in:
parent
0ac0a093a4
commit
72b8f56e32
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user