halo-admin/packages/shared
Ryan Wang 512ee82216
refactor: api of dialog component (#646)
#### What type of PR is this?

/kind api-change
/kind improvement
/milestone 2.0

#### What this PR does / why we need it:

重构 Dialog 组件使用 API 的调用方式,改为与 Toast 组件一致。https://github.com/halo-dev/console/pull/644

同样的,使用此方式调用 Dialog 组件不限制在 Vue 组件。

#### Special notes for your reviewer:

/cc @halo-dev/sig-halo-console 

需要测试后台各个操作的会话框是否正常。

#### Does this PR introduce a user-facing change?

```release-note
重构 Dialog 组件使用 API 的调用方式。
```
2022-10-18 01:58:09 +00:00
..
src refactor: api of dialog component (#646) 2022-10-18 01:58:09 +00:00
.eslintrc.cjs feat: create admin-shared package (#581) 2022-06-16 10:42:13 +00:00
env.d.ts feat: create admin-shared package (#581) 2022-06-16 10:42:13 +00:00
package.json refactor: rename admin to console (#634) 2022-10-09 06:56:33 +00:00
postcss.config.js perf: refine tailwindcss config 2022-07-11 12:25:24 +08:00
prettier.config.js feat: create admin-shared package (#581) 2022-06-16 10:42:13 +00:00
tailwind.config.js perf: refine tailwindcss config 2022-07-11 12:25:24 +08:00
tsconfig.app.json feat: create admin-shared package (#581) 2022-06-16 10:42:13 +00:00
tsconfig.json feat: create admin-shared package (#581) 2022-06-16 10:42:13 +00:00
tsconfig.vite-config.json feat: create admin-shared package (#581) 2022-06-16 10:42:13 +00:00
tsconfig.vitest.json feat: create admin-shared package (#581) 2022-06-16 10:42:13 +00:00
vite.config.ts refactor: rename admin to console (#634) 2022-10-09 06:56:33 +00:00