zhb há 2 meses atrás
pai
commit
ccf4495c96

+ 1 - 1
pages/activities/content.vue

@@ -21,7 +21,7 @@
                     !ActivitySingleNewYear24">
                     <view class="img">
                         <cwg-image :lazy="false"
-                            src="imgUrl + (singleData.activityImage ? singleData.activityImage : singleData.coverImage)">
+                            :src="imgUrl + (singleData.activityImage ? singleData.activityImage : singleData.coverImage)">
                         </cwg-image>
                     </view>
                     <view v-html="singleData.content" />

+ 0 - 15
pages/analytics/components/List.vue

@@ -62,11 +62,6 @@ const load = async () => {
   loading.value = true
   finished.value = false
   page.value = 1
-  console.log('load 请求参数', {
-    lang: locale.value == 'vn' ? 'vi' : locale.value,
-    page: { current: page.value, row: props.queryParams?.pageSize || props.pageSize },
-    ...props.queryParams
-  })
 
   try {
     const res = await props.fetchData({
@@ -99,29 +94,20 @@ const loadMore = async () => {
       page: { current: nextPage, row: props.queryParams?.pageSize || props.pageSize },
       ...props.queryParams
     }
-    console.log('loadMore 请求参数', params)  // ① 查看请求参数
-
     const res = await props.fetchData(params)
-    console.log('loadMore 响应结果', res)      // ② 查看完整响应
-
     if (res.code === 200) {
       const newList = res.data || []
-      console.log('newList 长度', newList.length, newList) // ③ 查看新数据
-
       if (newList.length > 0) {
         list.value.push(...newList)
         page.value = nextPage
-        console.log('当前列表长度', list.value.length)
       }
       // 更新 finished 状态
       const totalRows = res.page?.rowTotal || total.value
       finished.value = list.value.length >= totalRows
-      console.log('finished', finished.value, '总条数', totalRows)
     } else {
       throw new Error(res.msg || '请求失败')
     }
   } catch (err) {
-    console.error('加载更多失败', err)
     uni.showToast({ title: err.message || '加载更多失败', icon: 'none' })
   } finally {
     loadingMore.value = false
@@ -132,7 +118,6 @@ const handleItemClick = (item) => {
 }
 const lang = computed(() => uni.getLocale())
 watch(lang, (val) => {
-  console.log('lang 变化', val)
   load()
 }, { immediate: true })
 defineExpose({ load, loadMore })

+ 1 - 1
pages/customer/transfer.vue

@@ -362,7 +362,7 @@ const withdrawDisplayList = computed(() => {
 const transferTypeOptions = computed(() => [
     { value: 'internal', text: t('Home.page_customer.item5') },
     ...(getInfoAgentTransfer.value ? [{ value: 'agent', text: t('Home.page_ib.item9') }] : []),
-    ...(systemTransferType.value === 1 ? [{ value: 'system', text: t('Custom.Transfer.SystemTransfer') }] : []),
+    // ...(systemTransferType.value === 1 ? [{ value: 'system', text: t('Home.page_ib.item9') }] : []),
 ]);
 const currencyOptions = ref([{ value: 'USD', text: 'USD' }])
 // 转入账户列表