mirror of https://github.com/halo-dev/halo
![]() #### What type of PR is this? /kind improvement /area console #### What this PR does / why we need it: 为 Switch 组件添加 disabled 属性以支持禁用。 <img width="1403" alt="image" src="https://user-images.githubusercontent.com/21301288/226829739-914eca3d-6d33-4d8c-9cc8-fe19b655ad9d.png"> #### Special notes for your reviewer: 1. `cd path/to/console/packages/components` 2. `pnpm story:dev` 3. 测试 Switch 组件的 disabled 属性是否工作正常。 #### Does this PR introduce a user-facing change? ```release-note None ``` |
||
---|---|---|
.. | ||
src | ||
.eslintrc.cjs | ||
env.d.ts | ||
histoire.config.ts | ||
package.json | ||
postcss.config.js | ||
prettier.config.js | ||
tailwind.config.js | ||
tsconfig.app.json | ||
tsconfig.json | ||
tsconfig.vite-config.json | ||
tsconfig.vitest.json | ||
vite.config.ts |