mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 08:48:06 +08:00
opt title
This commit is contained in:
parent
ad06ef751c
commit
b73ba661fa
@ -3,6 +3,7 @@ Volcanos("user", {help: "用户模块",
|
||||
confirm: function(text) {return confirm(JSON.stringify(text))},
|
||||
prompt: function(text, cb) {(text = prompt(text)) != undefined && typeof cb == "function" && cb(text); return text},
|
||||
reload: function(force) {(force || confirm("重新加载页面?")) && location.reload()},
|
||||
title: function(text) {document.title = text},
|
||||
|
||||
toast: function(text) {},
|
||||
carte: function(event, cb) {},
|
||||
|
@ -17,6 +17,9 @@ Volcanos("onimport", {help: "导入数据", list: [],
|
||||
if (value == "update") {return}
|
||||
can.Conf("temp_river", value)
|
||||
},
|
||||
you: function(event, can, value, cmd, output) {
|
||||
can.user.title(value)
|
||||
},
|
||||
storm: function(event, can, value, cmd, output) {
|
||||
can.Cache(can.Conf("river")+"."+can.Conf("storm"), output, "some");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user