提交 c8fe14cf 编写于 作者: H hdx

unicloud-db-contacts: add页面 移除不必要的注释

上级 171f4e18
...@@ -49,12 +49,8 @@ ...@@ -49,12 +49,8 @@
this.$uniCloudElement = this.$refs['udb'] as UniCloudDBElement this.$uniCloudElement = this.$refs['udb'] as UniCloudDBElement
}, },
methods: { methods: {
// radioChange(e : RadioGroupChangeEvent) {
// this.gender = e.detail.value
// },
onFormSubmit: function (e : FormSubmitEvent) { onFormSubmit: function (e : FormSubmitEvent) {
const formData = e.detail.value const formData = e.detail.value
// TODO 待调整 <radio-group> <radio> value 属性为 any 后可省略此转换
formData['gender'] = parseInt(formData['gender'] as string) formData['gender'] = parseInt(formData['gender'] as string)
this.$uniCloudElement!.add(formData, { this.$uniCloudElement!.add(formData, {
showToast: false, showToast: false,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册