2
0
mirror of https://github.com/tenrok/vue-json-viewer.git synced 2026-06-11 18:02:29 +03:00

fix: long string expand arrow display error

This commit is contained in:
Bean
2020-12-27 16:45:57 +08:00
parent 3b056e2079
commit aa587ed438
+2 -2
View File
@@ -11,7 +11,7 @@ export default {
},
data() {
return {
expand: false,
expand: true,
canExtend: false,
}
},
@@ -30,7 +30,7 @@ export default {
const islink = REG_LINK.test(value)
let domItem
if (this.expand) {
if (!this.expand) {
domItem = {
class: {
'jv-ellipsis': true,