Update components.js

This commit is contained in:
刘祥超
2022-03-29 21:25:33 +08:00
parent 4b916829a4
commit 9b10bdaf0d

View File

@@ -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> &nbsp; <slot></slot>
</div>`
})
Vue.component("more-options-angle", {
data: function () {
return {