mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
feat(datasource): datasource api
This commit is contained in:
@@ -11,17 +11,17 @@ defineProps<{
|
||||
ds: any
|
||||
}>()
|
||||
|
||||
const getStatus = (status: string) => {
|
||||
if (status === 'Success') {
|
||||
return 'connected'
|
||||
}
|
||||
if (status === 'Fail') {
|
||||
return 'failed'
|
||||
}
|
||||
if (status === 'Checking') {
|
||||
return 'needs-verification'
|
||||
}
|
||||
}
|
||||
// const getStatus = (status: string) => {
|
||||
// if (status === 'Success') {
|
||||
// return 'connected'
|
||||
// }
|
||||
// if (status === 'Fail') {
|
||||
// return 'failed'
|
||||
// }
|
||||
// if (status === 'Checking') {
|
||||
// return 'needs-verification'
|
||||
// }
|
||||
// }
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user