mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-04 21:50:28 +08:00
13 lines
257 B
JavaScript
13 lines
257 B
JavaScript
|
|
Tea.context(function () {
|
||
|
|
this.createNode = function () {
|
||
|
|
teaweb.popup("/api/node/createPopup", {
|
||
|
|
width: "50em",
|
||
|
|
height: "30em",
|
||
|
|
callback: function () {
|
||
|
|
teaweb.success("保存成功", function () {
|
||
|
|
teaweb.reload()
|
||
|
|
})
|
||
|
|
}
|
||
|
|
})
|
||
|
|
}
|
||
|
|
})
|