Skip to content

Commit f098ee1

Browse files
committed
chore: run prettier
1 parent 928e39d commit f098ee1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/TreeNode/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,10 @@ export default {
176176
177177
defaultValue() {
178178
let value = this.node?.content;
179-
if(value === null || value === undefined) {
179+
if (value === null || value === undefined) {
180180
value += '';
181181
}
182-
return this.dataType === 'string' ? `"${value}"` : value
182+
return this.dataType === 'string' ? `"${value}"` : value;
183183
},
184184
},
185185
methods: {

0 commit comments

Comments
 (0)