mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
add save storm
This commit is contained in:
parent
6a43abeae8
commit
626be0152b
@ -7,5 +7,5 @@ var version = struct {
|
|||||||
self int
|
self int
|
||||||
}{
|
}{
|
||||||
[]string{"2017-11-01 01:02:03", "2019-07-13 18:02:21"},
|
[]string{"2017-11-01 01:02:03", "2019-07-13 18:02:21"},
|
||||||
`2019-10-14 10:03:50`, `centos`, 632,
|
`2019-10-21 14:20:01`, `centos`, 633,
|
||||||
}
|
}
|
||||||
|
@ -363,7 +363,9 @@ var Index = &ctx.Context{Name: "chat", Help: "会议中心",
|
|||||||
arg[2] = m.Conf("flow", []string{rid, "tool", arg[2], "status"})
|
arg[2] = m.Conf("flow", []string{rid, "tool", arg[2], "status"})
|
||||||
fallthrough
|
fallthrough
|
||||||
case "save":
|
case "save":
|
||||||
m.Confv("flow", []string{rid, "tool", arg[1], "status"}, arg[2])
|
if m.Confv("flow", []string{rid, "tool", arg[1], "status"}, arg[2]); kit.Select("", arg, 3) != "" {
|
||||||
|
m.Confv("flow", []string{rid, "tool", arg[1], "list"}, kit.UnMarshal(arg[3]))
|
||||||
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// 命令列表
|
// 命令列表
|
||||||
|
@ -479,6 +479,8 @@ var page = Page({
|
|||||||
return {name: field.Meta.name, args: kit.Selector(field, ".args", function(input) {
|
return {name: field.Meta.name, args: kit.Selector(field, ".args", function(input) {
|
||||||
return input.value
|
return input.value
|
||||||
})}
|
})}
|
||||||
|
})), JSON.stringify(kit.Selector(page.action, "fieldset.item", function(field) {
|
||||||
|
return {group: field.Meta.group, index: field.Meta.index, name: field.Meta.name, node: field.Meta.node}
|
||||||
}))], function(msg) {
|
}))], function(msg) {
|
||||||
page.toast.Pane.Show("保存成功")
|
page.toast.Pane.Show("保存成功")
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user