19 lines
400 B
JavaScript
19 lines
400 B
JavaScript
Tea.context(function () {
|
|
this.createBrowser = function () {
|
|
teaweb.popup(".createPopup", {
|
|
height: "24em",
|
|
callback: function () {
|
|
teaweb.successRefresh("保存成功")
|
|
}
|
|
})
|
|
}
|
|
|
|
this.updateBrowser = function (dataId) {
|
|
teaweb.popup(".browser.updatePopup?dataId=" + dataId, {
|
|
height: "24em",
|
|
callback: function () {
|
|
teaweb.successRefresh("保存成功")
|
|
}
|
|
})
|
|
}
|
|
}) |