File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 2828>
2929> If the enum types become ` any ` after upgrading to v3.0, please see [ here] ( #why-did-all-enum-types-become-any-after-upgrading-to-version-30 ) .
3030
31+ ---
32+
3133** Supported Platforms**
3234
3335[ ![ Node compatibility] ( https://img.shields.io/node/v/enum-plus?logo=nodedotjs&label=Node.js&color=2185D0&cacheSeconds=86400 )] ( https://github.com/shijistar/enum-plus )
3638[ ![ MiniProgram] ( https://img.shields.io/badge/MiniProgram-2185D0?logo=wechat )] ( https://developers.weixin.qq.com/miniprogram/en/dev/framework )
3739[](https://docs.taro.zone/en/docs)
3840
41+ ---
42+
3943## Introduction
4044
4145` enum-plus ` is an enhanced enumeration library that is fully compatible with the native ` enum ` and serves as a drop-in replacement library. It supports adding display text to enum items and extending more custom metadata fields. Enums can be generated into various UI components such as dropdowns and menus, which greatly simplifies front-end development.
Original file line number Diff line number Diff line change 2828>
2929> 如果升级后,你遇到枚举类型都变成 ` any ` 的问题,请看[ 这里] ( #为什么升级到-30-之后所有枚举的类型都变成了-any ) 。
3030
31+ ---
32+
3133** 支持平台**
3234
3335[ ![ Node compatibility] ( https://img.shields.io/node/v/enum-plus?logo=nodedotjs&label=Node.js&color=2185D0&cacheSeconds=86400 )] ( https://github.com/shijistar/enum-plus )
3638[ ![ MiniProgram] ( https://img.shields.io/badge/MiniProgram-2185D0?logo=wechat )] ( https://developers.weixin.qq.com/miniprogram/dev/framework )
3739[](https://taro.zone/)
3840
41+ ---
42+
3943## 简介
4044
4145` enum-plus ` 是一个增强版的枚举类库,完全兼容原生` enum ` 的用法,是原生枚举的直接替代品。支持为枚举项添加显示名称,以及添加自定义元数据字段。可以用枚举直接生成下拉框、多选框、菜单、选项卡等各种 UI 控件,对前端工程师非常实用。
You can’t perform that action at this time.
0 commit comments