@finema/finework-layer 0.2.39 → 0.2.41
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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.41](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.40...0.2.41) (2025-10-31)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* close filter when change path ([1155826](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/115582692e93d88b1c9c59a6ee1b0322233c8aff))
|
|
8
|
+
|
|
9
|
+
## [0.2.40](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.39...0.2.40) (2025-10-31)
|
|
10
|
+
|
|
3
11
|
## [0.2.39](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.38...0.2.39) (2025-10-31)
|
|
4
12
|
|
|
5
13
|
### Features
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
<div
|
|
177
177
|
v-if="!isMobile"
|
|
178
178
|
v-show="showFilter"
|
|
179
|
-
class="
|
|
179
|
+
class="fixed top-0 right-0 hidden h-screen w-80 transform flex-col border-l border-gray-200 bg-white shadow-lg transition-transform duration-300 ease-in-out md:flex!"
|
|
180
180
|
:class="showFilter ? 'translate-x-0' : 'translate-x-full'"
|
|
181
181
|
>
|
|
182
182
|
<div class="flex-1 overflow-y-auto px-4 pt-[64px]! lg:pt-[72px]!">
|
|
@@ -227,6 +227,7 @@ const app = useApp()
|
|
|
227
227
|
const isShowSidebarMobile = ref(false)
|
|
228
228
|
const showFilter = useState('pageFilterOpen', () => false)
|
|
229
229
|
const auth = useAuth()
|
|
230
|
+
const route = useRoute()
|
|
230
231
|
const breakpoints = useBreakpoints({
|
|
231
232
|
mobile: 0,
|
|
232
233
|
desktop: 768,
|
|
@@ -278,6 +279,14 @@ watch(isMobile, (newVal, oldVal) => {
|
|
|
278
279
|
window.location.reload()
|
|
279
280
|
}
|
|
280
281
|
})
|
|
282
|
+
|
|
283
|
+
watch(
|
|
284
|
+
() => route.fullPath,
|
|
285
|
+
() => {
|
|
286
|
+
showFilter.value = false
|
|
287
|
+
isShowSidebarMobile.value = false
|
|
288
|
+
},
|
|
289
|
+
)
|
|
281
290
|
</script>
|
|
282
291
|
|
|
283
292
|
<style scoped>
|