fix loading effect
This commit is contained in:
1 parent
8f8e291188
commit
db10fca5d6
3 files changed
+3
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import requests
|
||||
|
||||
url = "{{{url}}}"
|
||||
url = '{{{url}}}'
|
||||
|
||||
headers = {
|
||||
{{#headers}}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<el-divider />
|
||||
<el-skeleton />
|
||||
</div>
|
||||
<vue-markdown :source="content" class="markdown-body" />
|
||||
<vue-markdown v-else :source="content" class="markdown-body" />
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
|
||||
@@ -60,6 +60,7 @@ export default defineComponent({
|
||||
methods: {
|
||||
getDocument(id: string) {
|
||||
this.loading = true;
|
||||
this.form = {};
|
||||
documentOperator
|
||||
.get(id)
|
||||
.then(({ data: data }: { data: IDocumentDetailResponse }) => {
|
||||
|
||||
Reference in new issue
Block a user