Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobao-mini-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinhaitao
taobao-mini-template
Commits
8169f120
Commit
8169f120
authored
Jul 13, 2020
by
秦海涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
72932d45
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
task-config.js
client/components/task/task-config/task-config.js
+2
-1
add.js
client/pages/activity/add/add.js
+4
-2
taobao-mini-sdk
server/demotest/taobao-mini-sdk
+1
-0
No files found.
client/components/task/task-config/task-config.js
View file @
8169f120
...
@@ -13,7 +13,8 @@ Component({
...
@@ -13,7 +13,8 @@ Component({
times
:
''
,
times
:
''
,
value
:
''
value
:
''
},
},
dataName
:
''
dataName
:
''
,
type
:
''
},
},
didMount
()
{
didMount
()
{
},
},
...
...
client/pages/activity/add/add.js
View file @
8169f120
...
@@ -336,6 +336,8 @@ Component({
...
@@ -336,6 +336,8 @@ Component({
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
;
console
.
log
(
'成功'
)
console
.
log
(
'成功'
)
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment