mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-26 04:06:34 +08:00
13 lines
324 B
JavaScript
13 lines
324 B
JavaScript
Tea.context(function () {
|
|
this.success = NotifySuccess("添加成功", "/servers/server/settings/locations?serverId=" + this.serverId)
|
|
|
|
this.type = 1
|
|
this.selectedType = null
|
|
|
|
|
|
this.changePatternType = function (type) {
|
|
this.selectedType = this.patternTypes.$find(function (k, v) {
|
|
return v.type == type;
|
|
})
|
|
}
|
|
}) |