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

This commit is contained in:
GoEdgeLab
2023-08-10 14:07:46 +08:00
parent 10d6f498a1
commit 76922bd847

View File

@@ -8,7 +8,7 @@ Vue.component("http-pages-and-shutdown-box", {
let shutdownConfig = {
isPrior: false,
isOn: false,
bodyType: "url",
bodyType: "html",
url: "",
body: "",
status: 0
@@ -18,7 +18,7 @@ Vue.component("http-pages-and-shutdown-box", {
this.vShutdownConfig.body = ""
}
if (this.vShutdownConfig.bodyType == null) {
this.vShutdownConfig.bodyType = "url"
this.vShutdownConfig.bodyType = "html"
}
shutdownConfig = this.vShutdownConfig
}
@@ -129,8 +129,8 @@ Vue.component("http-pages-and-shutdown-box", {
<td>显示内容类型 *</td>
<td>
<select class="ui dropdown auto-width" v-model="shutdownConfig.bodyType">
<option value="url">读取URL</option>
<option value="html">HTML</option>
<option value="url">读取URL</option>
</select>
</td>
</tr>