@@ -280,15 +280,19 @@ const searchTt = () => {
-
- {{ map.get(key) }}
-
-
-
+
+
+ {{map.get(key)}}
+
+
+ {{ map.get(key) }}
+
+
+
|
diff --git a/web-ui/arthasWebConsole/public/dashboard.png b/web-ui/arthasWebConsole/public/dashboard.png
new file mode 100644
index 00000000000..99f82e9c39f
Binary files /dev/null and b/web-ui/arthasWebConsole/public/dashboard.png differ
diff --git a/web-ui/arthasWebConsole/public/option.png b/web-ui/arthasWebConsole/public/option.png
new file mode 100644
index 00000000000..dfb05551f3c
Binary files /dev/null and b/web-ui/arthasWebConsole/public/option.png differ
diff --git a/web-ui/arthasWebConsole/public/thread.png b/web-ui/arthasWebConsole/public/thread.png
new file mode 100644
index 00000000000..613e88f5f11
Binary files /dev/null and b/web-ui/arthasWebConsole/public/thread.png differ
diff --git a/web-ui/arthasWebConsole/public/tt.png b/web-ui/arthasWebConsole/public/tt.png
new file mode 100644
index 00000000000..f22d06a95f7
Binary files /dev/null and b/web-ui/arthasWebConsole/public/tt.png differ
diff --git a/web-ui/arthasWebConsole/vite.config.ts b/web-ui/arthasWebConsole/vite.config.ts
index 4a7919f0d55..605d74daa28 100644
--- a/web-ui/arthasWebConsole/vite.config.ts
+++ b/web-ui/arthasWebConsole/vite.config.ts
@@ -9,11 +9,12 @@ export default defineConfig(({ mode }) => {
`${env.VITE_ARTHAS_PROXY_IP}:${env.VITE_ARTHAS_PROXY_PORT}`;
console.log("Arthas proxy :", proxyTarget);
- let outDir, input, root, proxy;
+ let outDir, input, root, proxy, base;
if (mode === "tunnel") {
outDir = path.resolve(__dirname, `dist/tunnel`);
root = "./all/tunnel";
+ base = "./"
input = {
tunnel: path.resolve(__dirname, "all/tunnel/index.html"),
apps: path.resolve(__dirname, "all/tunnel/apps.html"),
@@ -27,6 +28,7 @@ export default defineConfig(({ mode }) => {
};
} else if (mode === "ui") {
outDir = path.resolve(__dirname, `dist/ui`);
+ base = "/"
root = "./all/ui";
input = {
main: path.resolve(__dirname, "all/ui/index.html"),
@@ -69,7 +71,7 @@ export default defineConfig(({ mode }) => {
define: {
"__VUE_OPTIONS_API__": false,
},
- base: ".",
+ base,
publicDir: path.resolve(__dirname, "all/share/public"),
root,
server: {