@tplc/business 0.3.47 → 0.3.49

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
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.3.49](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.48...v0.3.49) (2025-02-13)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * 修改map初始化 ([a1bda0c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a1bda0caee0072c274614c4d9c16276adbfb4b15))
11
+
12
+ ### [0.3.48](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.47...v0.3.48) (2025-02-13)
13
+
5
14
  ### [0.3.47](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.46...v0.3.47) (2025-02-13)
6
15
 
7
16
 
@@ -220,14 +220,9 @@ watch(
220
220
  },
221
221
  {
222
222
  deep: true,
223
+ immediate: true,
223
224
  },
224
225
  )
225
- onMounted(() => {
226
- form.value = {
227
- ...form.value,
228
- ...getCurrentPage().options,
229
- }
230
- })
231
226
  </script>
232
227
  <style lang="scss">
233
228
  .icon {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.3.47",
3
+ "version": "0.3.49",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
package/utils/utils.ts CHANGED
@@ -25,11 +25,11 @@ export const getCurrentPage = () => {
25
25
  route: string
26
26
  getPageId: () => number
27
27
  }
28
- const fullPath = decodeURIComponent(page.$page?.fullPath || '')
28
+ const fullPath = decodeURIComponent(page.$page?.fullPath?.split('?')[1] || '')
29
29
  return {
30
30
  pageId: page.getPageId?.(),
31
31
  fullPath: page.$page?.fullPath,
32
- options: parse(fullPath?.split('?')[1]),
32
+ options: parse(fullPath),
33
33
  route: page.route,
34
34
  }
35
35
  }