@@ -177,6 +177,7 @@
const getParentId = (service) => parentIdMap[service.name] || 1;
+
// 宫格点击事件
const handleGridClick = async (index) => {
const service = serviceList1.value[index]; // 获取点击的服务条目
@@ -228,8 +229,7 @@
init();
}
- };
-
+};
const change = (e) => {
console.log('change', e);