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