Commit 59372871 by pangchong

fix(editor): 修正导入的 XML 文件路径

- 将导入的 XML 文件路径从更新版本改回原始版本
- 确保编辑器加载正确的 XML 内容以避免解析错误
- 更新相关注释以避免混淆使用者
- 优化代码结构,提升代码可读性
parent d329ec77
...@@ -5,7 +5,7 @@ import { DEFAULT_FILE_NAME } from '../constants' ...@@ -5,7 +5,7 @@ import { DEFAULT_FILE_NAME } from '../constants'
// 静态导入 DTD JSON // 静态导入 DTD JSON
import dtdJson from '@/assets/json/dtd.json' import dtdJson from '@/assets/json/dtd.json'
// 导入原始 XML 文本 (?raw) // 导入原始 XML 文本 (?raw)
import xmlText from '@/assets/file/AMEA-A282400-02-1_0_0_updated.xml?raw' import xmlText from '@/assets/file/AMEA-A282400-02-1_0_0.xml?raw'
/** /**
* 工卡 XML 编辑器核心业务逻辑 Hook * 工卡 XML 编辑器核心业务逻辑 Hook
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment