mirror of
https://github.com/tenrok/vue-json-viewer.git
synced 2026-06-20 20:00:37 +03:00
Merge pull request #62 from HADB/master
fix: long string expand arrow display error
This commit is contained in:
@@ -11,7 +11,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
expand: false,
|
expand: true,
|
||||||
canExtend: false,
|
canExtend: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -30,7 +30,7 @@ export default {
|
|||||||
const islink = REG_LINK.test(value)
|
const islink = REG_LINK.test(value)
|
||||||
let domItem
|
let domItem
|
||||||
|
|
||||||
if (this.expand) {
|
if (!this.expand) {
|
||||||
domItem = {
|
domItem = {
|
||||||
class: {
|
class: {
|
||||||
'jv-ellipsis': true,
|
'jv-ellipsis': true,
|
||||||
|
|||||||
Reference in New Issue
Block a user