fix[Tinymce]: uuid bug
This commit is contained in:
parent
4c49259c92
commit
87b319d96a
|
@ -18,7 +18,9 @@ export default {
|
||||||
props: {
|
props: {
|
||||||
id: {
|
id: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'vue-tinymce-' + +new Date()
|
default: function() {
|
||||||
|
return 'vue-tinymce-' + +new Date() + ((Math.random() * 1000).toFixed(0) + '')
|
||||||
|
}
|
||||||
},
|
},
|
||||||
value: {
|
value: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|
Loading…
Reference in New Issue