Browse Source

文件下载

CzRger 1 year ago
parent
commit
23462e6a72
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/staging/zbgly/center/card.vue

+ 2 - 2
src/views/staging/zbgly/center/card.vue

@@ -118,12 +118,12 @@ export default defineComponent({
               dailyStatus: v.dailyStatus,
               dailyTime: v.dailyTime,
               dailyFiles: v.dailyUrl ? dailyUrl.map((v, i) => {
-                return {label: v, value: dailyName?.[i] || v}
+                return {url: v, name: dailyName?.[i] || v}
               }) : [],
               weeklyStatus: v.weekStatus,
               weeklyTime: v.weekTime,
               weeklyFiles: v.weekUrl ? weeklyUrl.map((v, i) => {
-                return {label: v, value: weeklyName?.[i] || v}
+                return {url: v, name: weeklyName?.[i] || v}
               }) : [],
             }
             state.data.push(obj)