fix[Tinymce]: uuid bug

This commit is contained in:
Pan 2018-09-17 18:37:12 +08:00
parent 4c49259c92
commit 87b319d96a

View file

@ -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,