Commit a82a69d00d27b35dcc5233ed4ea38ae13568567c

Authored by 无木
1 parent 8b00112d

fix(dropdown): add missing function

添加Dropdown组件缺失的函数
src/components/Dropdown/src/Dropdown.vue
... ... @@ -91,4 +91,6 @@
91 91 return originAttrs;
92 92 };
93 93 });
  94 +
  95 + const getAttr = (key: string | number) => ({ key });
94 96 </script>
... ...