mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
feature(cloudfunc) buildFromJSON: change params
This commit is contained in:
parent
1cbd959a46
commit
913fc2f7ce
3 changed files with 32 additions and 12 deletions
10
cloudcmd.js
10
cloudcmd.js
|
|
@ -275,7 +275,15 @@
|
|||
var panel, data;
|
||||
|
||||
if (!error) {
|
||||
panel = CloudFunc.buildFromJSON(json, FileTemplate, PathTemplate, LinkTemplate),
|
||||
panel = CloudFunc.buildFromJSON({
|
||||
data: json,
|
||||
template: {
|
||||
file: FileTemplate,
|
||||
path: PathTemplate,
|
||||
link: LinkTemplate
|
||||
}
|
||||
}),
|
||||
|
||||
data = indexProcessing({
|
||||
panel : panel,
|
||||
data : template,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue