mirror of https://github.com/halo-dev/halo
fix: wrong condition in h2 warning alert (#6526)
#### What type of PR is this? /area ui /kind bug /milestone 2.19.0 #### What this PR does / why we need it: 修复 H2 数据库提示判断有误的问题。 #### Does this PR introduce a user-facing change? ```release-note None ```pull/6525/head^2
parent
ef37aa794b
commit
ab6c20a204
|
@ -17,7 +17,7 @@ const { data: info } = useQuery<Info>({
|
|||
</script>
|
||||
<template>
|
||||
<VAlert
|
||||
v-if="!info?.database.name.startsWith('H2')"
|
||||
v-if="info?.database.name.startsWith('H2')"
|
||||
class="mt-3"
|
||||
type="warning"
|
||||
:title="$t('core.components.h2_warning_alert.title')"
|
||||
|
|
Loading…
Reference in New Issue