fix: test connection status flash
This commit is contained in:
parent
bb3316a67a
commit
4e2ff5930b
|
@ -238,11 +238,13 @@ const onClose = () => {
|
||||||
</n-tabs>
|
</n-tabs>
|
||||||
|
|
||||||
<!-- test result alert-->
|
<!-- test result alert-->
|
||||||
<n-alert v-if="showTestConnSuccResult" title="" type="success">
|
<n-alert
|
||||||
{{ $t('conn_test_succ') }}
|
v-if="showTestResult"
|
||||||
</n-alert>
|
:title="isEmpty(testResult) ? '' : $t('conn_test_fail')"
|
||||||
<n-alert v-if="showTestConnFailResult" title="" type="error">
|
:type="isEmpty(testResult) ? 'success' : 'error'"
|
||||||
{{ $t('conn_test_fail') }}: {{ testResult }}
|
>
|
||||||
|
<template v-if="isEmpty(testResult)"> {{ $t('conn_test_succ') }}</template>
|
||||||
|
<template v-else>{{ testResult }}</template>
|
||||||
</n-alert>
|
</n-alert>
|
||||||
</n-spin>
|
</n-spin>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue