临时关闭页面内容默认类型从url改为html

This commit is contained in:
刘祥超
2023-08-10 14:07:46 +08:00
parent f217b4190b
commit ec8548f133

View File

@@ -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>