diff --git a/snowy-admin-web/src/assets/icons/mobile/index.js b/snowy-admin-web/src/assets/icons/mobile/index.js index 2b0393ff..6ed837b4 100644 --- a/snowy-admin-web/src/assets/icons/mobile/index.js +++ b/snowy-admin-web/src/assets/icons/mobile/index.js @@ -29,8 +29,8 @@ export default { name: '实底风格', key: 'filled', item: filledJsonData.glyphs - }, + } ] - }, + } ] } diff --git a/snowy-admin-web/src/views/mobile/resource/button/form.vue b/snowy-admin-web/src/views/mobile/resource/button/form.vue index cfb1ebfe..82cb5462 100644 --- a/snowy-admin-web/src/views/mobile/resource/button/form.vue +++ b/snowy-admin-web/src/views/mobile/resource/button/form.vue @@ -55,19 +55,17 @@ } // 验证并提交数据 const onSubmit = () => { - formRef.value - .validate() - .then(() => { - const defParam = { - category: 'BUTTON', - parentId: recordData.value.id - } - const param = Object.assign(defParam, formData.value) - buttonApi.mobileButtonSubmitForm(param, !formData.value.id).then(() => { - onClose() - emit('successful') - }) + formRef.value.validate().then(() => { + const defParam = { + category: 'BUTTON', + parentId: recordData.value.id + } + const param = Object.assign(defParam, formData.value) + buttonApi.mobileButtonSubmitForm(param, !formData.value.id).then(() => { + onClose() + emit('successful') }) + }) } // 调用这个函数将子组件的一些数据和方法暴露出去 defineExpose({ diff --git a/snowy-admin-web/src/views/mobile/resource/menu/changeModuleForm.vue b/snowy-admin-web/src/views/mobile/resource/menu/changeModuleForm.vue index 0be63dc3..967d6137 100644 --- a/snowy-admin-web/src/views/mobile/resource/menu/changeModuleForm.vue +++ b/snowy-admin-web/src/views/mobile/resource/menu/changeModuleForm.vue @@ -10,21 +10,16 @@ > - {{formData.title}} + {{ formData.title }} - + - + {{ module.title }} - + + +
+