如何在Vue.js中的Summernote中进行数据构建

时间:2019-06-26 09:53:06

标签: laravel vue.js vuejs2 summernote

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); }

0 个答案:

没有答案