From 3f7acbae32700d7c3c2f883968ea33d436df5219 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期五, 27 六月 2025 11:28:27 +0800
Subject: [PATCH] update 修改商品广场和神厨左侧导航栏位置
---
components/dropdown-menu.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/components/dropdown-menu.vue b/components/dropdown-menu.vue
index 066a6d6..24b7d60 100644
--- a/components/dropdown-menu.vue
+++ b/components/dropdown-menu.vue
@@ -40,6 +40,10 @@
export default {
name: 'DropdownMenu',
props: {
+ // 涓氬姟鏁版嵁锛岄�変腑鑿滃崟鍚庝竴鍚岃繑鍥�
+ data: {
+ type: Object
+ },
// 閫夐」鍒楄〃
options: {
type: Array,
@@ -103,7 +107,7 @@
// 鏍规嵁閰嶇疆杩斿洖鏁翠釜瀵硅薄鎴杤alue鍊�
const emitValue = typeof item === 'object' ? item[this.valueKey] : item
this.$emit('input', emitValue)
- this.$emit('change', emitValue)
+ this.$emit('change', emitValue, this.data)
}
}
}
--
Gitblit v1.8.0