Commit 8169f120 authored by 秦海涛's avatar 秦海涛

update

parent 72932d45
...@@ -13,7 +13,8 @@ Component({ ...@@ -13,7 +13,8 @@ Component({
times: '', times: '',
value: '' value: ''
}, },
dataName: '' dataName: '',
type: ''
}, },
didMount() { didMount() {
}, },
......
...@@ -335,6 +335,8 @@ Component({ ...@@ -335,6 +335,8 @@ Component({
async onSubmit() { async onSubmit() {
const isValidForm = await this.validateForm(this.data); const isValidForm = await this.validateForm(this.data);
// console.log(this.formatActivityParams(this.data))
if(!isValidForm) return; if(!isValidForm) return;
...@@ -405,8 +407,8 @@ Component({ ...@@ -405,8 +407,8 @@ Component({
Object.keys(taskMap).forEach(type => { Object.keys(taskMap).forEach(type => {
if(!taskMap[type].checked) return; if(!taskMap[type].checked) return;
let task = { let task = {
type, ...taskMap[type],
...taskMap[type] type
} }
list.push(task) list.push(task)
}); });
......
taobao-mini-sdk @ 025197b3
Subproject commit 025197b38aaf883547384d73b5960782c9093c23
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment