mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-07 07:10:27 +08:00
临时关闭页面内容默认类型从url改为html
This commit is contained in:
@@ -8,7 +8,7 @@ Vue.component("http-pages-and-shutdown-box", {
|
|||||||
let shutdownConfig = {
|
let shutdownConfig = {
|
||||||
isPrior: false,
|
isPrior: false,
|
||||||
isOn: false,
|
isOn: false,
|
||||||
bodyType: "url",
|
bodyType: "html",
|
||||||
url: "",
|
url: "",
|
||||||
body: "",
|
body: "",
|
||||||
status: 0
|
status: 0
|
||||||
@@ -18,7 +18,7 @@ Vue.component("http-pages-and-shutdown-box", {
|
|||||||
this.vShutdownConfig.body = ""
|
this.vShutdownConfig.body = ""
|
||||||
}
|
}
|
||||||
if (this.vShutdownConfig.bodyType == null) {
|
if (this.vShutdownConfig.bodyType == null) {
|
||||||
this.vShutdownConfig.bodyType = "url"
|
this.vShutdownConfig.bodyType = "html"
|
||||||
}
|
}
|
||||||
shutdownConfig = this.vShutdownConfig
|
shutdownConfig = this.vShutdownConfig
|
||||||
}
|
}
|
||||||
@@ -129,8 +129,8 @@ Vue.component("http-pages-and-shutdown-box", {
|
|||||||
<td>显示内容类型 *</td>
|
<td>显示内容类型 *</td>
|
||||||
<td>
|
<td>
|
||||||
<select class="ui dropdown auto-width" v-model="shutdownConfig.bodyType">
|
<select class="ui dropdown auto-width" v-model="shutdownConfig.bodyType">
|
||||||
<option value="url">读取URL</option>
|
|
||||||
<option value="html">HTML</option>
|
<option value="html">HTML</option>
|
||||||
|
<option value="url">读取URL</option>
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user