From af5a8d80bca9b8c08543238a370ea3c70c8c59b1 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期四, 21 十一月 2024 11:09:21 +0800 Subject: [PATCH] Merge branch 'hc-dataproduct-v1112' into lsf-dataproduct-1024 --- src/views/fysp/check/components/ArbitraryPhoto.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/fysp/check/components/ArbitraryPhoto.vue b/src/views/fysp/check/components/ArbitraryPhoto.vue index 4593d21..52034e9 100644 --- a/src/views/fysp/check/components/ArbitraryPhoto.vue +++ b/src/views/fysp/check/components/ArbitraryPhoto.vue @@ -1,5 +1,6 @@ <template> <FYImageSelectDialog + v-loading="loading" title="鍦烘櫙鍥剧墖" :typeList="typesList" :typeImgMap="typesMap" @@ -19,7 +20,8 @@ return { // 鏃犳暟鎹� typesList: [], - typesMap: new Map() + typesMap: new Map(), + loading: true, }; }, mounted() { @@ -29,6 +31,7 @@ // 鍥剧墖鍒嗙被 getGroupImgs() { mediafileApi.getRoutineByStGuid(this.subtask.stGuid).then((res) => { + this.loading = true let typeList = []; let typeMap = new Map(); const data = res.data; @@ -52,9 +55,10 @@ } this.typesList = typeList; this.typesMap = typeMap; - }); + }).finally(() => (this.loading = false)); } } }; </script> <style scoped></style> + \ No newline at end of file -- Gitblit v1.9.3