mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-07 07:10:27 +08:00
Update components.js
This commit is contained in:
@@ -6165,6 +6165,35 @@ Vue.component("user-selector", {
|
||||
</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", {
|
||||
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 () {
|
||||
@@ -11585,6 +11614,12 @@ Vue.component("second-menu", {
|
||||
</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", {
|
||||
data: function () {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user