refactor: ♻️ 修复js警告
修复js警告
This commit is contained in:
@@ -59,9 +59,9 @@ const permissionStore = usePermissionStore();
|
|||||||
//获取当前拥有的路由
|
//获取当前拥有的路由
|
||||||
const menuSearchInput = ref();
|
const menuSearchInput = ref();
|
||||||
const noSearchRoutePath = ref(["/redirect", "/login", "/401", "/404"]);
|
const noSearchRoutePath = ref(["/redirect", "/login", "/401", "/404"]);
|
||||||
const searchData = ref(<SearchItem>[]);
|
const searchData = ref<SearchItem[]>([]);
|
||||||
|
|
||||||
const searchResult = ref(<SearchItem>[]);
|
const searchResult = ref<SearchItem[]>([]);
|
||||||
function showSearchModal() {
|
function showSearchModal() {
|
||||||
searchKey.value = "";
|
searchKey.value = "";
|
||||||
searchResult.value = [];
|
searchResult.value = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user