Browse Source

Merge branch 'master' of http://git.cc-lotus.info/Information/cxyy-web

zs 8 tháng trước cách đây
mục cha
commit
f3330abe87
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/detail/matchDetail.vue

+ 2 - 2
src/views/detail/matchDetail.vue

@@ -225,8 +225,8 @@ const toClose = () => {
 }
 const getUrl = (item, type) => {
   if (item) {
-    if (type == 'array') return `${import.meta.env.VITE_APP_HOST}${item[0].uri}`
-    else return `${import.meta.env.VITE_APP_HOST}${item.uri}`
+    if (type == 'array') return `${import.meta.env.VITE_APP_HOST}${get(item, '0.uri')}`
+    else return `${import.meta.env.VITE_APP_HOST}${get(item, 'uri')}`
   }
 }
 // 报名