🐛 Fixing a bug. #I7PA0Q [菜单管理] 按钮切换提示js错误

This commit is contained in:
lbw 2023-07-31 14:54:36 +08:00
parent b97d0eb89f
commit 48dddb90d0

View File

@ -55,7 +55,7 @@
<IconSelector :placeholder="$t('sysmenu.inputIconTip')" v-model="state.ruleForm.icon" /> <IconSelector :placeholder="$t('sysmenu.inputIconTip')" v-model="state.ruleForm.icon" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" class="mb20" v-if="state.ruleForm.menuType === '0' && state.ruleForm.path.startsWith('http')"> <el-col :span="12" class="mb20" v-if="state.ruleForm.menuType === '0' && state.ruleForm.path?.startsWith('http')">
<el-form-item :label="$t('sysmenu.embedded')" prop="embedded"> <el-form-item :label="$t('sysmenu.embedded')" prop="embedded">
<el-radio-group v-model="state.ruleForm.embedded"> <el-radio-group v-model="state.ruleForm.embedded">
<el-radio-button label="0"></el-radio-button> <el-radio-button label="0"></el-radio-button>
@ -116,7 +116,7 @@ const state = reactive({
icon: '', icon: '',
path: '', path: '',
sortOrder: 0, sortOrder: 0,
menuType: '0', menuType: '1',
keepAlive: '0', keepAlive: '0',
visible: '1', visible: '1',
embedded: '0', embedded: '0',