Files
chenxing b2307f583f
build / build (push) Successful in 42s
chore(harness): 补齐全局脚本引入 + 命令面板取证钩子
- harness.html 照抄 index.html:30-34 的 ztree.css / jquery / lodash / jquery.ztree:
  main.ts 不 import 这几个全局脚本,靠 html 提供;缺 jquery 会稳定报
  "Uncaught ReferenceError: $ is not defined"(本项目既有坑)
- harness-main.ts 新增 /apps 空壳路由(只需 route.name === "apps" 让 Header 渲染放大镜,
  不挂真实 AppList 以免本机无后端时报错污染控制台)与 ?cmd=1[&q=xx] 取证钩子
  (自动点开放大镜并可选输入关键词)
2026-10-08 17:45:33 +08:00

22 lines
731 B
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>harness-取证</title>
<!-- 照抄 index.html:30-34:main.ts 不 import 这几个全局脚本,靠 html 提供。
缺 jquery ⇒ "$ is not defined" ⇒ v-wave / vuescroll 抛错(本项目固有坑) -->
<link rel="stylesheet" href="./libs/ztree/zTreeStyle.css" />
<script src="./libs/jquery.min.js"></script>
<script src="./libs/lodash.min.js"></script>
<script src="./libs/ztree/jquery.ztree.all.min.js"></script>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/harness-main.ts"></script>
</body>
</html>