mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 09:34:05 +08:00
opt some
This commit is contained in:
parent
d0f656f725
commit
d99cd8c0c6
@ -98,10 +98,10 @@ func (m *Message) RenderCmd(index string, args ...interface{}) {
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=0.8,user-scalable=no">
|
<meta name="viewport" content="width=device-width,initial-scale=0.8,user-scalable=no">
|
||||||
<link rel="stylesheet" type="text/css" href="/page/can.css">
|
<link rel="stylesheet" type="text/css" href="/page/can.css">
|
||||||
<script src="/page/can.js"></script>
|
|
||||||
<script>can(%s)</script>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<script src="/page/can.js"></script>
|
||||||
|
<script>can(%s)</script>
|
||||||
</body>
|
</body>
|
||||||
`, list))
|
`, list))
|
||||||
}
|
}
|
||||||
|
1
type.go
1
type.go
@ -133,6 +133,7 @@ func (c *Context) Merge(s *Context) *Context {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for key, cmd := range s.Commands {
|
for key, cmd := range s.Commands {
|
||||||
if p, ok := c.Commands[key]; ok && s != c {
|
if p, ok := c.Commands[key]; ok && s != c {
|
||||||
switch hand := cmd.Hand; key {
|
switch hand := cmd.Hand; key {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user