吉安感知网项目-前端
罗广辉
2026-06-09 db9b5763240c686cf24894830e2b0ad73c6ddaa7
fix: app渲染ai框 bug
2 files modified
9 ■■■■■ changed files
uniapps/work-app/src/config/env.js 4 ●●●● patch | view | raw | blame | history
uniapps/work-app/src/pages/work/index.vue 5 ●●●● patch | view | raw | blame | history
uniapps/work-app/src/config/env.js
@@ -12,8 +12,8 @@
const development = {
  VITE_APP_ENV:'development',
  // 开发环境这里改为自己的
  // VITE_APP_WEBVIEW_URL: 'https://wrj.shuixiongit.com/mobile-web-view/#/webViewWrapper',
  VITE_APP_WEBVIEW_URL: 'https://192.168.1.157:5179/mobile-web-view/#/webViewWrapper',
    // VITE_APP_WEBVIEW_URL: 'https://192.168.1.157:5179/mobile-web-view/#/webViewWrapper',
  VITE_APP_WEBVIEW_URL: 'https://wrj.shuixiongit.com/mobile-web-view/#/webViewWrapper',
  VITE_API_BASE_URL: 'http://220.177.172.27:8100/yisuanzhijian',
  VITE_API_BASE_URL_GD: 'http://220.177.172.27:8100/api/',
  // VITE_API_BASE_URL: 'https://aisky.org.cn/api',
uniapps/work-app/src/pages/work/index.vue
@@ -209,10 +209,13 @@
        const list = []
        for (const item of response) {
            // const aiImg = await drawAiImage(item.eventImageUrl, mockGeojson)
            if (item.attachmentType !== 2) return item
            if (item.attachmentType !== 2) {
                list.push(item)
            }else{
            const aiImg = await drawAiImage(item.eventImageUrl, item.geojson)
            list.push({ ...item, aiImg })
        }
        }
        dataList.value = list
    // 根据当前页码决定是替换还是追加数据
    // if (listParams.value.current === 1) {