fix[Tinymce]: uuid bug

This commit is contained in:
Pan 2018-09-17 18:37:12 +08:00
parent 4c49259c92
commit 87b319d96a
1 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,9 @@ export default {
props: {
id: {
type: String,
default: 'vue-tinymce-' + +new Date()
default: function() {
return 'vue-tinymce-' + +new Date() + ((Math.random() * 1000).toFixed(0) + '')
}
},
value: {
type: String,