From 8bda10c23c7a7d772669e610e56e80de099b0747 Mon Sep 17 00:00:00 2001 From: CharlieJohn <8595764@qq.com> Date: 星期四, 17 六月 2021 09:30:52 +0800 Subject: [PATCH] !54 fix 生成器生成的 service 和 serviceImpl 中 deleteWithValidByIds 参数字段类型错误 * fix 生成器生成的 service 和 serviceImpl 中 deleteWithValidByIds 参数字段类型错误 --- ruoyi-ui/src/components/Breadcrumb/index.vue | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/ruoyi-ui/src/components/Breadcrumb/index.vue b/ruoyi-ui/src/components/Breadcrumb/index.vue index 97603c4..b313fdd 100644 --- a/ruoyi-ui/src/components/Breadcrumb/index.vue +++ b/ruoyi-ui/src/components/Breadcrumb/index.vue @@ -10,8 +10,6 @@ </template> <script> -import pathToRegexp from 'path-to-regexp' - export default { data() { return { @@ -49,18 +47,13 @@ } return name.trim() === '棣栭〉' }, - pathCompile(path) { - const { params } = this.$route - var toPath = pathToRegexp.compile(path) - return toPath(params) - }, handleLink(item) { const { redirect, path } = item if (redirect) { this.$router.push(redirect) return } - this.$router.push(this.pathCompile(path)) + this.$router.push(path) } } } -- Gitblit v1.9.3