export default { name: "SummerNote", props : {
model: {
required: true
},
},
mounted() {
let vm = this;
var config = {};
config.onBlur = function(e) {
this.note = $(vm.$el).code();
};
导出默认值{名称:“ SummerNote”,道具:{模型:{必需:true},},mounted(){let vm = this; var config = {}; config.onBlur = function(e){this.note = $(vm。$ el).code(); }; $(vm。$ el).summernote(config); }