mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-09 16:50:26 +08:00
特殊页面改为自定义页面
This commit is contained in:
@@ -71,7 +71,7 @@ Vue.component("http-location-labels", {
|
||||
<!-- 请求脚本 -->
|
||||
<http-location-labels-label v-if="location.web != null && location.web.requestScripts != null && ((location.web.requestScripts.initGroup != null && location.web.requestScripts.initGroup.isPrior) || (location.web.requestScripts.requestGroup != null && location.web.requestScripts.requestGroup.isPrior))" :href="url('/requestScripts')">请求脚本</http-location-labels-label>
|
||||
|
||||
<!-- 特殊页面 -->
|
||||
<!-- 自定义页面 -->
|
||||
<div v-if="location.web != null && location.web.pages != null && location.web.pages.length > 0">
|
||||
<div v-for="page in location.web.pages" :key="page.id"><http-location-labels-label :href="url('/pages')">PAGE [状态码{{page.status[0]}}] -> {{page.url}}</http-location-labels-label></div>
|
||||
</div>
|
||||
|
||||
@@ -92,7 +92,7 @@ Vue.component("http-pages-and-shutdown-box", {
|
||||
<input type="hidden" name="shutdownJSON" :value="JSON.stringify(shutdownConfig)"/>
|
||||
<table class="ui table selectable definition">
|
||||
<tr>
|
||||
<td class="title">特殊页面</td>
|
||||
<td class="title">自定义页面</td>
|
||||
<td>
|
||||
<div v-if="pages.length > 0">
|
||||
<div class="ui label small basic" v-for="(page,index) in pages">
|
||||
@@ -103,7 +103,7 @@ Vue.component("http-pages-and-shutdown-box", {
|
||||
<div>
|
||||
<button class="ui button small" type="button" @click.prevent="addPage()">+</button>
|
||||
</div>
|
||||
<p class="comment">根据响应状态码返回一些特殊页面,比如404,500等错误页面。</p>
|
||||
<p class="comment">根据响应状态码返回一些自定义页面,比如404,500等错误页面。</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user