Skip to content

Commit 55c9bc2

Browse files
yanglbmeactions-user
authored andcommitted
style: prettify code
1 parent 865ec17 commit 55c9bc2

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/assets/scripts/util.js

+2-8
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,8 @@ export function customCssWithTemplate(jsonString, color, theme) {
8888
custom_theme.inline.wx_link,
8989
jsonString.wx_link
9090
);
91-
custom_theme.block.ul = Object.assign(
92-
custom_theme.block.ul,
93-
jsonString.ul
94-
);
95-
custom_theme.block.ol = Object.assign(
96-
custom_theme.block.ol,
97-
jsonString.ol
98-
);
91+
custom_theme.block.ul = Object.assign(custom_theme.block.ul, jsonString.ul);
92+
custom_theme.block.ol = Object.assign(custom_theme.block.ol, jsonString.ol);
9993
custom_theme.inline.listitem = Object.assign(
10094
custom_theme.inline.listitem,
10195
jsonString.li

0 commit comments

Comments
 (0)