除去冗余代码

删除了搜索栏忘记删除搜索栏所配置的JavaScript

Signed-off-by: XiaoLFeng <gm@x-lf.cn>
This commit is contained in:
筱锋xiao_lfeng 2023-07-05 17:13:20 +08:00
parent b753676fbf
commit f78e62a85b

View File

@ -109,18 +109,6 @@ class="z-[9999] fixed top-5 left-5 hidden items-center w-full max-w-xs p-4 space
<script src="{{ asset('js/jquery.js') }}"></script> <script src="{{ asset('js/jquery.js') }}"></script>
<script type="text/javascript"> <script type="text/javascript">
class Check { class Check {
static searchType = 'all';
static Click(type) {
if (type === 1) {
$('#search-data').html('<i class="bi bi-1-circle pe-1"></i>博客名字');
this.searchType = 'blogName';
} else if (type === 2) {
$('#search-data').html('<i class="bi bi-2-circle pe-1"></i>博客地址');
this.searchType = 'blogUrl';
}
}
static ajaxSendCode() { static ajaxSendCode() {
$.ajax({ $.ajax({
async: true, async: true,