fix: 删除src/layout/components/tag/index.vue文件中多余的判断条件

Co-authored-by: ozxi1 <ozxi1@grgbanking.com>
This commit is contained in:
otis 2024-01-11 22:46:56 +08:00 committed by GitHub
parent 44c541126a
commit 45900c5781
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,7 +143,7 @@ function dynamicRouteTag(value: string): void {
function concatPath(arr: object[], value: string) {
if (!hasValue) {
arr.forEach((arrItem: any) => {
if (arrItem.path === value || arrItem.path === value) {
if (arrItem.path === value) {
useMultiTagsStoreHook().handleTags("push", {
path: value,
meta: arrItem.meta,