feat(datasource): datasource api

This commit is contained in:
junjun
2025-06-05 10:21:28 +08:00
parent 7f5a6f3e3f
commit 4ebef86a60
+11 -11
View File
@@ -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>