优化界面

This commit is contained in:
GoEdgeLab
2022-03-10 15:47:25 +08:00
parent 366947d34f
commit dcfe9b041b
4 changed files with 3 additions and 7 deletions

View File

@@ -97,10 +97,6 @@ Vue.component("http-cache-refs-config-box", {
callback: function (resp) { callback: function (resp) {
resp.data.cacheRef.id = that.refs[index].id resp.data.cacheRef.id = that.refs[index].id
Vue.set(that.refs, index, resp.data.cacheRef) Vue.set(that.refs, index, resp.data.cacheRef)
// 通知子组件更新
that.$refs.cacheRef[index].notifyChange()
that.change() that.change()
} }
}) })

View File

@@ -6,7 +6,7 @@
<input type="hidden" name="domainId" :value="domain.id"/> <input type="hidden" name="domainId" :value="domain.id"/>
<table class="ui table definition selectable"> <table class="ui table definition selectable">
<tr> <tr>
<td class="title">是否启用TSIG *</td> <td class="title">启用TSIG *</td>
<td> <td>
<checkbox name="isOn" v-model="tsig.isOn"></checkbox> <checkbox name="isOn" v-model="tsig.isOn"></checkbox>
</td> </td>

View File

@@ -9,7 +9,7 @@
<input type="hidden" name="serverType" :value="serverType"/> <input type="hidden" name="serverType" :value="serverType"/>
<table class="ui table selectable definition"> <table class="ui table selectable definition">
<tr> <tr>
<td class="title">是否启用HTTP</td> <td class="title">启用HTTP</td>
<td> <td>
<div class="ui checkbox"> <div class="ui checkbox">
<input type="checkbox" name="isOn" value="1" v-model="httpConfig.isOn"/> <input type="checkbox" name="isOn" value="1" v-model="httpConfig.isOn"/>

View File

@@ -15,7 +15,7 @@
<input type="hidden" name="serverType" :value="serverType"/> <input type="hidden" name="serverType" :value="serverType"/>
<table class="ui table selectable definition"> <table class="ui table selectable definition">
<tr> <tr>
<td class="title">是否启用HTTPS</td> <td class="title">启用HTTPS</td>
<td> <td>
<div class="ui checkbox"> <div class="ui checkbox">
<input type="checkbox" name="isOn" value="1" v-model="httpsConfig.isOn"/> <input type="checkbox" name="isOn" value="1" v-model="httpsConfig.isOn"/>