From 3f33219134d1d5e71c51756e7acf3b06d1a85cf8 Mon Sep 17 00:00:00 2001 From: 若依 <yzz_ivy@163.com> Date: 星期二, 29 十二月 2020 17:14:31 +0800 Subject: [PATCH] !156 修复 用户管理 -> 修改用户 手机号码 和 邮箱 不能清空 Merge pull request !156 from li_oxen/N/A --- 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 dec8bfe..9955ad2 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.2