mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-23 23:39:47 +08:00
fix(projects): 目录类型禁用iframe选项
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user