@antify/ui 3.1.17 → 3.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -284,7 +284,7 @@ onMounted(() => {
284
284
  class="w-full flex items-center"
285
285
  >
286
286
  <div
287
- class="flex gap-2.5 items-center"
287
+ class="flex flex-wrap gap-2.5 items-center"
288
288
  >
289
289
  <AntTag
290
290
  v-for="(tag, index) in _modelValue"
@@ -48,7 +48,7 @@ const _active = computed<boolean>(() => {
48
48
  }
49
49
 
50
50
  if (typeof props.to === 'object' && props.to?.name !== undefined) {
51
- return route.name === props.to.name;
51
+ return (route.name as string).startsWith(props.to.name);
52
52
  }
53
53
 
54
54
  return props.active;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antify/ui",
3
- "version": "3.1.17",
3
+ "version": "3.1.19",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {