zjk
2026-05-14 364e87f3f23a320dec746f9dfae53201af58eeb4
fix: 调整开发环境API配置并修复活动描述HTML渲染问题

- 更新service.config.ts,启用内网测试API地址并注释外网测试地址
- 修改ActivityInfo.vue组件,使用v-html渲染活动描述以支持HTML内容展示
2个文件已修改
8 ■■■■■ 已修改文件
service.config.ts 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/userContent/active/activityManagement/components/ActivityInfo.vue 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service.config.ts
@@ -2,9 +2,9 @@
export const serviceConfig: Record<ServiceEnvType, Record<string, string>> = {
  dev: {
    // url: 'http://localhost:3000',
    // url: 'http://221.182.45.100:8000',
    url: 'http://221.182.45.100:8000',
    // url: 'http://rt-admin.test.xiaopeng.local',
    url: 'https://rt-api.deploy-test.xiaopeng.com',
    // url: 'https://rt-api.deploy-test.xiaopeng.com',
  },
  production: {
    url: 'https://rt-admin.deploy-test.xiaopeng.com',
src/views/userContent/active/activityManagement/components/ActivityInfo.vue
@@ -435,7 +435,9 @@
          </div>
          <div class="info-item col-span-3 items-start">
            <span class="label shrink-0">活动说明:</span>
            <span class="value">{{ basicInfo.desc }}</span>
            <span class="value">
              <div v-html="basicInfo.desc" />
            </span>
          </div>
          <div class="info-item col-span-3 items-start">
            <span class="label shrink-0">活动封面图:</span>