Commit 246189a9 authored by wanli's avatar wanli

🧪 test: 规范前端代码

parent 7fb3b3f1
...@@ -208,6 +208,17 @@ export const constantRoutes = [ ...@@ -208,6 +208,17 @@ export const constantRoutes = [
meta: { title: 'EVM模块注册工具', icon: 'home' } meta: { title: 'EVM模块注册工具', icon: 'home' }
}] }]
}, },
{
path: '/tool',
redirect: '/tool/bytecode',
component: Layout,
children: [{
path: 'bytecode',
name: 'ByteCodeFile',
component: () => import('@/views/system/bytecode-tool'),
meta: { title: 'bytecode', icon: 'home' }
}]
},
{ {
path: '/tool', path: '/tool',
redirect: '/tool/index', redirect: '/tool/index',
...@@ -241,17 +252,6 @@ export const constantRoutes = [ ...@@ -241,17 +252,6 @@ export const constantRoutes = [
meta: { title: 'opqcp', icon: 'home' } meta: { title: 'opqcp', icon: 'home' }
}] }]
}, },
{
path: '/bytecode',
redirect: '/bytecode/index',
component: Layout,
children: [{
path: 'index',
name: 'ByteCodeFile',
component: () => import('@/views/system/bytecode-tool'),
meta: { title: 'bytecode', icon: 'home' }
}]
},
{ {
path: '/monitor', path: '/monitor',
redirect: '/monitor/index', redirect: '/monitor/index',
......
...@@ -83,7 +83,7 @@ export default { ...@@ -83,7 +83,7 @@ export default {
title: "字节码文件转换", title: "字节码文件转换",
name: "ByteCodeFile", name: "ByteCodeFile",
icon: "gongzuotai", icon: "gongzuotai",
path: "evue/index", path: "tool/bytecode",
}, },
{ {
vue: "system/evm-module-tool.vue", vue: "system/evm-module-tool.vue",
......
...@@ -89,9 +89,6 @@ export default { ...@@ -89,9 +89,6 @@ export default {
this.$message.error(err.message); this.$message.error(err.message);
}); });
}, },
test() {
console.log("tool.vue test function")
}
}, },
mounted() {}, mounted() {},
created() {}, created() {},
......
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