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