|
|
@@ -173,9 +173,8 @@ const getCityMuseumList = async (load?: boolean) => {
|
|
|
if (!window.openCloudApi || !store.state.isOnline) {
|
|
|
console.log("===读取静态数据===");
|
|
|
const regex = new RegExp(searchKey.value, "gi");
|
|
|
- let stack: CityMuseumItemType[] = [];
|
|
|
|
|
|
- stack = pageCityListData.filter((i: CityMuseumItemType) => {
|
|
|
+ list.value = pageCityListData.filter((i: CityMuseumItemType) => {
|
|
|
const needValidType = curType.value !== "全部类型";
|
|
|
const needValidKeyword = !!searchKey.value;
|
|
|
|
|
|
@@ -186,7 +185,6 @@ const getCityMuseumList = async (load?: boolean) => {
|
|
|
);
|
|
|
});
|
|
|
|
|
|
- list.value = stack;
|
|
|
return;
|
|
|
}
|
|
|
|