Commit 246189a9 authored by wanli's avatar wanli

🧪 test: 规范前端代码

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