chunk-2d01af26.d4ff3aa6.js 1.3 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d01af26"],{"10f8":function(n,e,t){},c37e:function(n,e,t){"use strict";t.r(e);var c=function(){var n=this,e=n._self._c;return e("div",{staticClass:"wrap"},[e("my-wangediter",{attrs:{is100vh:!0,placeholder:"输入问题的描述.."},model:{value:n.content,callback:function(e){n.content=e},expression:"content"}})],1)},o=[],a=(t("a481"),t("aaff"));window.RE={};var i={components:{MyWangediter:a["a"]},data:function(){return{content:""}},watch:{content:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";0===n.replace(/<[^<>]+>/g,"").replace(/&nbsp;/gi,"").length&&(n=""),window.location.href="re-callback://"+encodeURI(n)}},mounted:function(){var n=this;window.RE.callback=function(){var n=RE.getHtml();window.location.href="re-callback://"+encodeURI(n)},window.RE.setHtml=function(n){RE.editor.innerHTML=decodeURIComponent(n.replace(/\+/g,"%20"))},window.RE.getHtml=function(){var e=n.content;return 0===e.replace(/<[^<>]+>/g,"").replace(/&nbsp;/gi,"").length&&(e=""),e},window.RE.getText=function(){return n.content.replace(/<[^<>]+>/g,"").replace(/&nbsp;/gi,"")}},methods:{}},r=i,l=(t("c416"),t("2877")),d=Object(l["a"])(r,c,o,!1,null,"72f81784",null);e["default"]=d.exports},c416:function(n,e,t){"use strict";t("10f8")}}]);
  2. //# sourceMappingURL=chunk-2d01af26.d4ff3aa6.js.map