File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ ## v0.0.45
2
+
3
+ [ compare changes] ( https://github.com/iceywu/utils/compare/v0.0.44...v0.0.45 )
4
+
5
+ ### 🚀 Enhancements
6
+
7
+ - [ destr] 增加destr方法用于解析JSON ([ fc088bd] ( https://github.com/iceywu/utils/commit/fc088bd ) )
8
+
9
+ ### 🩹 Fixes
10
+
11
+ - [ toPro] 内部逻辑重构 ([ 7c0fe9e] ( https://github.com/iceywu/utils/commit/7c0fe9e ) )
12
+
13
+ ### 🏡 Chore
14
+
15
+ - Update deps ([ 155b6e4] ( https://github.com/iceywu/utils/commit/155b6e4 ) )
16
+
17
+ ### ❤️ Contributors
18
+
19
+ - IceyWu ([ @Life-Palette ] ( http://github.com/Life-Palette ) )
20
+
1
21
## v0.0.44
2
22
3
23
[ compare changes] ( https://github.com/iceywu/utils/compare/v0.0.43...v0.0.44 )
Original file line number Diff line number Diff line change 11
11
<button btn @click =" download" >文件下载</button >
12
12
<button btn @click =" removeEmptyValuesFunc" >空值移除</button >
13
13
<button btn @click =" testTopro" >toPro</button >
14
+ <button btn @click =" testFuncTT" >test</button >
14
15
</div >
15
16
</div >
16
17
</template >
@@ -22,7 +23,19 @@ import {
22
23
toPro ,
23
24
to ,
24
25
downloadFile ,
26
+ destr ,
27
+ safeDestr ,
28
+ customDestr ,
25
29
} from " ../../src" ;
30
+ const testFuncTT = () => {
31
+ const testVal = " [foo" ;
32
+ console .log (
33
+ " 🐳-------------destr----------------->" ,
34
+ customDestr (testVal , { customVal: " default" })
35
+ // customDestr(testVal)
36
+ );
37
+ console .log (" 🐳-------------destr----------------->" , JSON .parse (testVal ));
38
+ };
26
39
27
40
onMounted (() => {
28
41
consolePlus .log (" warning" , " test" );
You can’t perform that action at this time.
0 commit comments