Files
EdgeAdmin/web/views/@default/dns/providers/createPopup.js

17 lines
337 B
JavaScript
Raw Normal View History

2020-11-11 21:32:19 +08:00
Tea.context(function () {
this.success = NotifyPopup
this.type = ""
2021-06-02 18:14:00 +08:00
this.typeDescription = ""
this.changeType = function () {
let that = this
let t = this.types.$find(function (k, v) {
return v.code == that.type
})
if (t != null) {
this.typeDescription = t.description
} else {
this.typeDescription = ""
}
}
2020-11-11 21:32:19 +08:00
})