mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-02 09:36:49 +00:00
chore(nc-gui): lint
This commit is contained in:
@@ -16,9 +16,6 @@ import {
|
||||
clientTypes as _clientTypes,
|
||||
} from '#imports'
|
||||
|
||||
// Define Monaco Editor as an async component
|
||||
const MonacoEditor = defineAsyncComponent(() => import('~/components/monaco/Editor.vue'))
|
||||
|
||||
const props = defineProps<{
|
||||
open: boolean
|
||||
connectionType?: ClientType
|
||||
@@ -28,6 +25,9 @@ const props = defineProps<{
|
||||
|
||||
const emit = defineEmits(['update:open'])
|
||||
|
||||
// Define Monaco Editor as an async component
|
||||
const MonacoEditor = defineAsyncComponent(() => import('~/components/monaco/Editor.vue'))
|
||||
|
||||
const vOpen = useVModel(props, 'open', emit)
|
||||
|
||||
const connectionType = computed(() => props.connectionType ?? ClientType.MYSQL)
|
||||
@@ -1201,9 +1201,7 @@ watch(
|
||||
<div class="h-[400px] w-full flex items-center justify-center bg-gray-50 dark:bg-gray-900">
|
||||
<div class="text-center">
|
||||
<a-spin size="large" />
|
||||
<div class="mt-4 text-gray-600 dark:text-gray-400">
|
||||
Loading Monaco Editor...
|
||||
</div>
|
||||
<div class="mt-4 text-gray-600 dark:text-gray-400">Loading Monaco Editor...</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user