mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-26 20:40:24 +08:00
优化代码/自动去除域名中的http://和https://等,防止误填
This commit is contained in:
@@ -20,8 +20,10 @@ Tea.context(function () {
|
||||
|
||||
this.success = function () {
|
||||
this.isOk = true
|
||||
let f = NotifyReloadSuccess("任务提交成功")
|
||||
f()
|
||||
let that = this
|
||||
teaweb.success("任务提交成功", function () {
|
||||
window.location = window.location.pathname + "?keyType=" + that.keyType
|
||||
})
|
||||
}
|
||||
|
||||
this.fail = function (resp) {
|
||||
@@ -39,5 +41,7 @@ Tea.context(function () {
|
||||
/**
|
||||
* 操作类型
|
||||
*/
|
||||
this.keyType = "key" // key | prefix
|
||||
if (this.keyType == null || this.keyType.length == 0) {
|
||||
this.keyType = "key" // key | prefix
|
||||
}
|
||||
})
|
||||
@@ -43,7 +43,7 @@
|
||||
<td class="color-border">缓存文件句柄缓存</td>
|
||||
<td>
|
||||
<input type="text" name="fileOpenFileCacheMax" maxlength="6" value="0" style="width: 10em"/>
|
||||
<p class="comment">保持缓存文件句柄,提升缓存文件打开速度,建议数量不超过缓存文件数量的10%。</p>
|
||||
<p class="comment">保持在内存中的缓存文件句柄的数量,提升缓存文件打开速度,建议数量不超过缓存文件数量的十分之一。</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr v-show="teaIsPlus">
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
<td class="color-border">缓存文件句柄缓存</td>
|
||||
<td>
|
||||
<input type="text" name="fileOpenFileCacheMax" v-model="fileOpenFileCacheMax" maxlength="6" value="0" style="width: 10em"/>
|
||||
<p class="comment">保持缓存文件句柄,提升缓存文件打开速度,建议数量是缓存文件数量的10%。</p>
|
||||
<p class="comment">保持在内存中的缓存文件句柄的数量,提升缓存文件打开速度,建议数量不超过缓存文件数量的十分之一。</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr v-show="teaIsPlus">
|
||||
|
||||
Reference in New Issue
Block a user