halo/ui/console-src/views/system
Ryan Wang f6747327e9
refactor: add warning alert for H2 database on data initialization page (#6564)
#### What type of PR is this?

/area ui
/kind improvement
/milestone 2.19.0

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

将 H2 数据库使用警告放置在数据初始化页面,之前放在初始化表单页面无法正确判断,因为没有登录,无法调用 /actuator/info 接口获取数据库数据。

<img width="638" alt="image" src="https://github.com/user-attachments/assets/18868104-321a-4146-a893-5babf4573146">

Fixes https://github.com/halo-dev/halo/issues/6561

#### Special notes for your reviewer:

需要使用此 PR 测试使用 H2 数据库全新安装,观察是否在数据初始化页面有 H2 数据库的使用提示。

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

```release-note
None
```
2024-09-01 14:07:34 +00:00
..
setup-data Move folder console to ui 2024-02-02 22:22:51 +08:00
Binding.vue chore: organize and fix imports (#6152) 2024-06-26 10:42:50 +00:00
Login.vue chore: organize and fix imports (#6152) 2024-06-26 10:42:50 +00:00
Redirect.vue Move folder console to ui 2024-02-02 22:22:51 +08:00
ResetPassword.vue feat: add requests library as a global shared dependency 2024-06-25 12:31:44 +08:00
Setup.vue refactor: add warning alert for H2 database on data initialization page (#6564) 2024-09-01 14:07:34 +00:00
SetupInitialData.vue refactor: add warning alert for H2 database on data initialization page (#6564) 2024-09-01 14:07:34 +00:00