We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66c6463 commit c350fc4Copy full SHA for c350fc4
src/views/system/menu/MenuForm.vue
@@ -130,7 +130,7 @@ const dialogTitle = ref('') // 弹窗的标题
130
const formLoading = ref(false) // 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用
131
const formType = ref('') // 表单的类型:create - 新增;update - 修改
132
const formData = ref({
133
- id: 0,
+ id: undefined,
134
name: '',
135
permission: '',
136
type: SystemMenuTypeEnum.DIR,
@@ -231,7 +231,7 @@ const getTree = async () => {
231
/** 重置表单 */
232
const resetForm = () => {
233
formData.value = {
234
235
236
237
0 commit comments