Skip to content

Commit

Permalink
Merge pull request #22 from shuzhenyang/master
Browse files Browse the repository at this point in the history
fix: 体验问题修复
  • Loading branch information
ielgnaw authored Mar 21, 2024
2 parents d5a4f3c + e14611d commit 5536f15
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
@enter="handleSearch">
</bk-input> -->
<bk-search-select
v-if="delayLoading"
v-model="searchValue"
:data="searchData"
unique-select
Expand Down Expand Up @@ -404,7 +405,7 @@
</template>

<script lang="ts" setup>
import { ref, reactive, computed, shallowRef, nextTick, watch } from 'vue';
import { ref, reactive, computed, shallowRef, nextTick, watch, onMounted } from 'vue';
import { useI18n } from 'vue-i18n';
import { Message } from 'bkui-vue';
import { useRouter } from 'vue-router';
Expand Down Expand Up @@ -451,6 +452,11 @@ const getDefaultData = () => {
};
};
const delayLoading = ref<boolean>(false);
onMounted(() => {
delayLoading.value = true;
});
const fields = [{
id: 'systemName',
label: t('系统名称'),
Expand Down
2 changes: 1 addition & 1 deletion src/dashboard-front/src/views/online-test/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ watch(
);
watch(
() => isShowSubpath,
() => isShowSubpath.value,
() => {
formData.value.subpath = '';
},
Expand Down

0 comments on commit 5536f15

Please sign in to comment.