block builde: add prview
This commit is contained in:
parent
57dd7da162
commit
62fbd936c6
|
@ -152,7 +152,7 @@ export default {
|
||||||
this.showSettings = !this.showSettings
|
this.showSettings = !this.showSettings
|
||||||
},
|
},
|
||||||
truncate(value) {
|
truncate(value) {
|
||||||
return value.replace(/(<([^>]+)>)/ig, '')
|
return value.replace(/(<([^>]+)>)/ig, '').trim()
|
||||||
},
|
},
|
||||||
removeMe() {
|
removeMe() {
|
||||||
this.$emit('remove-item')
|
this.$emit('remove-item')
|
||||||
|
|
Loading…
Reference in a new issue