fix loading effect

This commit is contained in:
AceDataCloud committed 2023-01-23 20:14:48 +08:00
1 parent 8f8e291188
commit db10fca5d6
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
import requests import requests
url = "{{{url}}}" url = '{{{url}}}'
headers = { headers = {
{{#headers}} {{#headers}}
+1 -1
View File
@@ -4,7 +4,7 @@
<el-divider /> <el-divider />
<el-skeleton /> <el-skeleton />
</div> </div>
<vue-markdown :source="content" class="markdown-body" /> <vue-markdown v-else :source="content" class="markdown-body" />
</template> </template>
<script lang="ts"> <script lang="ts">
+1
View File
@@ -60,6 +60,7 @@ export default defineComponent({
methods: { methods: {
getDocument(id: string) { getDocument(id: string) {
this.loading = true; this.loading = true;
this.form = {};
documentOperator documentOperator
.get(id) .get(id)
.then(({ data: data }: { data: IDocumentDetailResponse }) => { .then(({ data: data }: { data: IDocumentDetailResponse }) => {