/*!
 *  build: vue-admin-beautiful 
 *  vue-admin-beautiful author: chuzhixin 1204505056@qq.com 
 *  vue-admin-beautiful QQ Group(QQ群): 972435319、1139183756 
 *  time: 2024-10-10 11:14:28
 */
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d22cc95"],{f55e:function(e,t,a){"use strict";a.r(t);var n=a("f2bf");function i(e,t,a,i,l,o){const c=Object(n["resolveComponent"])("editor");return Object(n["openBlock"])(),Object(n["createElementBlock"])("div",null,[Object(n["createVNode"])(c,{id:"tinymce",modelValue:l.value,"onUpdate:modelValue":t[0]||(t[0]=e=>l.value=e),init:l.init},null,8,["modelValue","init"])])}var l=a("e562"),o=a.n(l),c=a("ca72"),r=(a("0d68"),a("4ea8"),a("4237"),a("64d8"),a("0a9d"),a("bc3a")),u=a.n(r),d={components:{Editor:c["a"]},props:{curValue:{type:String,default:""}},data(){return{init:{selector:"#textarea",height:500,branding:!1,menubar:!0,elementpath:!1,paste_data_images:!0,plugins:["image","link","code","preview"],toolbar:["formatselect |bold italic |alignleft aligncenter alignright alignjustify |bullist numlist outdent indent |lists image media table |removeformat link |code preview"],images_upload_handler:(e,t,a)=>{const n=new FormData;n.set("file",e.blob()),u.a.post("http://localhost:8088/api/upload/img/",n).then(e=>{t("http://localhost:8088/images/"+e.data)}).catch(e=>{a("error")})}},value:this.curValue}},watch:{curValue(e){this.value=e},value(e){this.$emit("input",e)}},mounted(){console.log(12131231,o.a),o.a.init({})}},s=a("d959"),p=a.n(s);const m=p()(d,[["render",i]]);t["default"]=m}}]);