zhangjiaxun 5831c3bdb5
CI/CD Deploy (Web) / 构建前端镜像并部署 (push) Successful in 1m32s
feat(tools): 新增文本比对工具页面
- src/libs/diff.js:零依赖 diff 算法
  - 行级 LCS + 变更块内位置对齐配对,避免连续多行全变被错配成删+增
  - 先剥离公共前后缀再求中间变更区,消除「删除优先」回溯造成的左右不对称
  - 字符级细化,仅对 replace 行标注变化的字符片段
  - 大文本(超阈值)按锚点分段降级,避免构建超大 LCS 矩阵
  - toUnifiedDiff 导出,标准 3 行上下文分组
- src/view/tools/text-diff.vue:比对页面
  - 双栏输入,支持拖入 .txt 文件
  - 行级差异配色(新增绿/删除红/修改黄)+ 字符级高亮
  - 差异统计、上一处/下一处导航、只看差异(含上下文)
  - 交换左右、清空、示例数据、导出带色 HTML
2026-10-20 22:27:58 +08:00

freedom-web

Description

十分钟毕设-内部项目

Software Architecture

Software architecture description

Installation

  1. xxxx
  2. xxxx
  3. xxxx

Instructions

  1. xxxx
  2. xxxx
  3. xxxx

Contribution

  1. Fork the repository
  2. Create Feat_xxx branch
  3. Commit your code
  4. Create Pull Request

Gitee Feature

  1. You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md
  2. Gitee blog blog.gitee.com
  3. Explore open source project https://gitee.com/explore
  4. The most valuable open source project GVP
  5. The manual of Gitee https://gitee.com/help
  6. The most popular members https://gitee.com/gitee-stars/
S
Description
No description provided
Readme MIT 5.4 MiB
Languages
Vue 38.8%
JavaScript 38.5%
HTML 17.7%
Less 4.2%
CSS 0.5%
Other 0.3%