mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-23 23:39:47 +08:00
fix(projects): 修复菜单弹窗打开未清空默认值问题
This commit is contained in:
@ -69,7 +69,7 @@ function createDefaultModel(): Model {
|
||||
visible: '0',
|
||||
status: '0',
|
||||
perms: '',
|
||||
icon: undefined,
|
||||
icon: null,
|
||||
remark: ''
|
||||
};
|
||||
}
|
||||
@ -118,6 +118,7 @@ const localIconOptions = localIcons.map<SelectOption>(item => ({
|
||||
|
||||
function handleInitModel() {
|
||||
queryList.value = [];
|
||||
iconType.value = '1';
|
||||
Object.assign(model, createDefaultModel());
|
||||
|
||||
if (props.operateType === 'edit' && props.rowData) {
|
||||
|
Reference in New Issue
Block a user