mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-23 18:00:27 +08:00
11 lines
328 B
JavaScript
11 lines
328 B
JavaScript
Tea.context(function () {
|
|
this.shouldReplace = this.headerConfig.shouldReplace
|
|
this.statusList = []
|
|
if (this.headerConfig.status != null && this.headerConfig.status.codes != null) {
|
|
this.statusList = this.headerConfig.status.codes
|
|
}
|
|
|
|
this.selectHeader = function (headerName) {
|
|
this.headerConfig.name = headerName
|
|
}
|
|
}) |