mirror of
https://shylinux.com/x/icebergs
synced 2025-04-28 18:22:02 +08:00
opt some
This commit is contained in:
parent
3eadc753ab
commit
4554de495d
@ -5,6 +5,7 @@ import (
|
|||||||
"shylinux.com/x/icebergs/base/ctx"
|
"shylinux.com/x/icebergs/base/ctx"
|
||||||
"shylinux.com/x/icebergs/base/mdb"
|
"shylinux.com/x/icebergs/base/mdb"
|
||||||
"shylinux.com/x/icebergs/base/web"
|
"shylinux.com/x/icebergs/base/web"
|
||||||
|
kit "shylinux.com/x/toolkits"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@ -23,7 +24,7 @@ func init() {
|
|||||||
m.Action(mdb.CREATE, mdb.EXPORT, mdb.IMPORT)
|
m.Action(mdb.CREATE, mdb.EXPORT, mdb.IMPORT)
|
||||||
ctx.DisplayLocal(m, "")
|
ctx.DisplayLocal(m, "")
|
||||||
} else {
|
} else {
|
||||||
m.EchoImages(web.MergeURL2(m, web.SHARE_CACHE+m.Append("image")))
|
m.EchoImages(web.MergeURL2(m, web.SHARE_CACHE+kit.Split(m.Append("image"))[0]))
|
||||||
}
|
}
|
||||||
m.PushAction("copy", mdb.MODIFY, mdb.REMOVE)
|
m.PushAction("copy", mdb.MODIFY, mdb.REMOVE)
|
||||||
}},
|
}},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user