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
|
import requests
|
||||||
|
|
||||||
url = "{{{url}}}"
|
url = '{{{url}}}'
|
||||||
|
|
||||||
headers = {
|
headers = {
|
||||||
{{#headers}}
|
{{#headers}}
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|||||||
@@ -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 }) => {
|
||||||
|
|||||||
Reference in new issue
Block a user