Skip to content

Commit

Permalink
fix: customPlugin (#1961)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoJohw authored Oct 12, 2024
1 parent 7e65b2f commit b1a6ddf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/pages/src/views/setting/data-source/ConfigList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div class="flex items-center">
<div class="mr-[40px]" v-if="syncStatus">
<span
v-if="syncStatus?.status !== 'running' || dataSource?.plugin_id !== 'local'"
v-if="syncStatus?.status !== 'running'"
:class="['tag-style', dataRecordStatus[syncStatus?.status]?.theme]">
{{ dataRecordStatus[syncStatus?.status]?.text }}
</span>
Expand Down
12 changes: 8 additions & 4 deletions src/pages/src/views/setting/data-source/CustomJsonSchema.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="json-schema-container" v-if="formData.plugin_config.plugin_id">
<template v-if="props.curStep === 1">
<bk-loading :loading="isLoading" class="json-schema-container user-scroll-y">
<template v-if="props.curStep === 1 && formData.plugin_config.plugin_id"">
<SchemaForm
ref="schemaFormRef"
:form-data="formData"
Expand Down Expand Up @@ -91,8 +91,7 @@
</div>
</Row>
</bk-form>
</div>

</bk-loading>
</template>
<script setup lang="ts">
Expand Down Expand Up @@ -464,6 +463,11 @@ onMounted(async () => {
::v-deep .bk-schema-form-group {
padding: 0 4px;
}
::v-deep .bk-form-content {
& > .bk-select {
border: none !important;
}
}
}
.btn {
position: relative;
Expand Down

0 comments on commit b1a6ddf

Please sign in to comment.