refactor(web): refactor avatar assets to use PNG instead of inline SVG

- TravelReimbursementCreateView.js: change avatar imports to use PNG paths
- web/public/assets: add PNG avatar assets (header.png, person.png)
This commit is contained in:
caoxiaozhu
2026-05-12 07:25:45 +00:00
parent b1e67cc99b
commit 2e1b0645c0
3 changed files with 3 additions and 2 deletions

View File

@@ -1,11 +1,12 @@
import { computed, nextTick, onBeforeUnmount, onMounted, ref } from 'vue'
import aiAvatar from '../../assets/header.svg?no-inline'
import userAvatar from '../../assets/person.svg?no-inline'
import { useSystemState } from '../../composables/useSystemState.js'
import { recognizeOcrFiles } from '../../services/ocr.js'
import { runOrchestrator } from '../../services/orchestrator.js'
const aiAvatar = '/assets/header.png'
const userAvatar = '/assets/person.png'
const SOURCE_LABELS = {
workbench: '来自个人工作台',
topbar: '来自发起报销',