mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-12 11:20:27 +08:00
Update components.js
This commit is contained in:
@@ -6165,6 +6165,35 @@ Vue.component("user-selector", {
|
|||||||
</div>`
|
</div>`
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// UAM模式配置
|
||||||
|
Vue.component("uam-config-box", {
|
||||||
|
props: ["v-uam-config"],
|
||||||
|
data: function () {
|
||||||
|
let config = this.vUamConfig
|
||||||
|
if (config == null) {
|
||||||
|
config = {
|
||||||
|
isOn: false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
config: config
|
||||||
|
}
|
||||||
|
},
|
||||||
|
template: `<div>
|
||||||
|
<input type="hidden" name="uamJSON" :value="JSON.stringify(config)"/>
|
||||||
|
<table class="ui table definition selectable">
|
||||||
|
<tr>
|
||||||
|
<td class="title">启用全站防护</td>
|
||||||
|
<td>
|
||||||
|
<checkbox v-model="config.isOn"></checkbox>
|
||||||
|
<p class="comment">启用后,访问网站时,自动检查浏览器环境,阻止非正常访问。</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<div class="margin"></div>
|
||||||
|
</div>`
|
||||||
|
})
|
||||||
|
|
||||||
Vue.component("http-header-policy-box", {
|
Vue.component("http-header-policy-box", {
|
||||||
props: ["v-request-header-policy", "v-request-header-ref", "v-response-header-policy", "v-response-header-ref", "v-params", "v-is-location", "v-is-group", "v-has-group-request-config", "v-has-group-response-config", "v-group-setting-url"],
|
props: ["v-request-header-policy", "v-request-header-ref", "v-response-header-policy", "v-response-header-ref", "v-params", "v-is-location", "v-is-group", "v-has-group-request-config", "v-has-group-response-config", "v-group-setting-url"],
|
||||||
data: function () {
|
data: function () {
|
||||||
@@ -11585,6 +11614,12 @@ Vue.component("second-menu", {
|
|||||||
</div>'
|
</div>'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Vue.component("loading-message", {
|
||||||
|
template: `<div class="ui message loading">
|
||||||
|
<div class="ui active inline loader small"></div> <slot></slot>
|
||||||
|
</div>`
|
||||||
|
})
|
||||||
|
|
||||||
Vue.component("more-options-angle", {
|
Vue.component("more-options-angle", {
|
||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user