fix loading and apply issue
This commit is contained in:
1 parent
b55ace7c8e
commit
64678264bb
14 files changed
+104
-62
No files matched your search
@@ -187,7 +187,7 @@ export default defineComponent({
|
||||
<style lang="scss" scoped>
|
||||
.wrapper {
|
||||
width: 100%;
|
||||
padding: 15px;
|
||||
// padding: 15px;
|
||||
padding-bottom: 0;
|
||||
overflow-x: scroll;
|
||||
.options {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<code-snippet :code="responseData" />
|
||||
</div>
|
||||
<div v-if="loading">
|
||||
<el-skeleton />
|
||||
<el-skeleton animated />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
<template>
|
||||
<div v-if="loading">
|
||||
<el-skeleton />
|
||||
<el-divider />
|
||||
<el-skeleton />
|
||||
</div>
|
||||
<div v-else class="item">
|
||||
<div class="item">
|
||||
<api-info v-if="api" :api="api" />
|
||||
<el-divider />
|
||||
<div class="queries">
|
||||
@@ -44,7 +39,7 @@ import ApiForm from './Form.vue';
|
||||
import ApiResult from './Result.vue';
|
||||
import { applicationOperator } from '@/operators/application/operator';
|
||||
import { IApplication, IApplicationListResponse } from '@/operators/application/models';
|
||||
import { ElSkeleton, ElDivider, ElTag } from 'element-plus';
|
||||
import { ElDivider } from 'element-plus';
|
||||
import ApiInfo from './Info.vue';
|
||||
|
||||
export interface IData {
|
||||
@@ -57,7 +52,6 @@ export default defineComponent({
|
||||
components: {
|
||||
ApiForm,
|
||||
ApiResult,
|
||||
ElSkeleton,
|
||||
ElDivider,
|
||||
ApiInfo
|
||||
},
|
||||
@@ -66,10 +60,6 @@ export default defineComponent({
|
||||
type: Object as () => IApi,
|
||||
required: true
|
||||
},
|
||||
loading: {
|
||||
type: Boolean,
|
||||
required: true
|
||||
},
|
||||
form: {
|
||||
type: Object as () => IForm,
|
||||
required: true
|
||||
|
||||
Reference in new issue
Block a user