Browse Source

fix[Tinymce]: uuid bug

pull/1134/head
Pan 6 years ago
parent
commit
87b319d96a
  1. 4
      src/components/Tinymce/index.vue

4
src/components/Tinymce/index.vue

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

Loading…
Cancel
Save