Browse Source

fix:类别修改

master
wangqi 7 months ago
parent
commit
ffa31377a2
  1. 8
      src/pages/system/deviceField/components/CategoryDlg.vue

8
src/pages/system/deviceField/components/CategoryDlg.vue

@ -106,8 +106,12 @@ async function onSave() {
} }
function validate() { function validate() {
if (isEmpty(formData.value.pid)) { // if (isEmpty(formData.value.pid)) {
message.error('请选择类型') // message.error('')
// return false
// }
if (isEmpty(formData.value.name)) {
message.error('请输入类别名称')
return false return false
} }

Loading…
Cancel
Save