795fe926 by lihua

fix

1 parent a96541d4
......@@ -104,7 +104,7 @@ const asideSubmitForm = async () => {
asideSearch();
getAllAsideData();
} else {
proxy.$ElMessage.error(res?.msg);
res?.msg && proxy.$ElMessage.error(res?.msg);
}
})
}
......@@ -154,7 +154,7 @@ const classEditFormItems = ref([
{
label: '界面排序',
type: 'input',
maxlength: 50,
maxlength: 10,
placeholder: '请输入',
field: 'orderNum',
regexp: /[^\d]/g,
......@@ -287,7 +287,7 @@ const toAsideDelete = (data) => { // 删除
asideSearch();
getAllAsideData();
} else {
proxy.$ElMessage.error(res?.msg);
res?.msg && proxy.$ElMessage.error(res?.msg);
}
})
}, () => {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!