@vtj/ui 0.8.134 → 0.8.135
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/dist/index.mjs +10 -6
- package/dist/index.umd.js +3 -3
- package/package.json +4 -4
- package/types/version.d.ts +2 -2
package/dist/index.mjs
CHANGED
@@ -8,10 +8,10 @@ import { useRouter as Cd, RouterView as Db, useRoute as Dh, routeLocationKey as
|
|
8
8
|
* Copyright (c) 2024, VTJ.PRO All rights reserved.
|
9
9
|
* @name @vtj/ui
|
10
10
|
* @author CHC chenhuachun1549@dingtalk.com
|
11
|
-
* @version 0.8.
|
11
|
+
* @version 0.8.135
|
12
12
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
13
13
|
*/
|
14
|
-
const AI = "0.8.
|
14
|
+
const AI = "0.8.135", _b = {
|
15
15
|
default: 14,
|
16
16
|
small: 12,
|
17
17
|
large: 18
|
@@ -23844,13 +23844,17 @@ function M7(e, t) {
|
|
23844
23844
|
[r]: y.value
|
23845
23845
|
};
|
23846
23846
|
});
|
23847
|
-
return Array.isArray(v) ? v.map((g) => C.find((y) => y[r] === g)).filter((g) => !!g) :
|
23847
|
+
return Array.isArray(v) ? v.map((g) => C.find((y) => y[r] === g)).filter((g) => !!g) : C;
|
23848
23848
|
};
|
23849
23849
|
return tt(
|
23850
23850
|
() => e.modelValue,
|
23851
23851
|
(v) => {
|
23852
|
-
const C = i ? i(v) : v
|
23853
|
-
|
23852
|
+
const C = i ? i(v) : v;
|
23853
|
+
if (C) {
|
23854
|
+
const g = m(C);
|
23855
|
+
c(g.length ? g : C);
|
23856
|
+
} else
|
23857
|
+
c([]);
|
23854
23858
|
},
|
23855
23859
|
{
|
23856
23860
|
immediate: !0
|
@@ -25097,7 +25101,7 @@ const A7 = {
|
|
25097
25101
|
setup(e) {
|
25098
25102
|
const t = e, n = () => {
|
25099
25103
|
if (typeof window < "u") {
|
25100
|
-
let r = (window.__VTJ_LINK__ || {}).href || window.location.pathname + "
|
25104
|
+
let r = (window.__VTJ_LINK__ || {}).href || window.location.pathname + "__vtj__/#/";
|
25101
25105
|
window.location.href = r;
|
25102
25106
|
}
|
25103
25107
|
};
|