第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

在vue中,如何多次調(diào)用ueditor?

在vue中,如何多次調(diào)用ueditor?

郎朗坤 2018-10-08 11:29:43
在webpack的模塊化構(gòu)建當(dāng)中,使用vue開(kāi)發(fā)在組件內(nèi)import了ueditor,第一次打開(kāi)或刷新頁(yè)面,ueditor是正常渲染的ueditor渲染在一個(gè)彈窗當(dāng)中,彈窗關(guān)閉后,ueditor被銷毀,再次打開(kāi)彈窗,則ueditor沒(méi)有被渲染由于是spa應(yīng)用,許多時(shí)候沒(méi)有被刷新,那么,怎么讓ueditor多次渲染?而避免刷新呢?import '../../static/ueditor/ueditor.config.js'import '../../static/ueditor/ueditor.all.js'import '../../ static/ueditor/lang/zh-cn/zh-cn.js' // 在mounted中執(zhí)行 UE.getEditor('content', {           UEDITOR_HOME_URL: __dirname + 'static/ueditor/',           serverUrl: config.ajaxUrl + '/ueditor/jsp/controller.jsp',           autoHeight: false,           initialFrameHeight: '250',           emotionLocalization: true,           scaleEnabled: true,           toolbars: [[                       'fullscreen','undo', 'redo','emotion','bold', 'italic', 'underline','forecolor',            'backcolor','insertimage','blockquote','justifyleft', 'justifycenter', 'justifyright','inserttable'           ]]         });模板:<script id="content" name="content" type="text/plain"></script>very much Thanks in advance.
查看完整描述

1 回答

  • 1 回答
  • 0 關(guān)注
  • 1421 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)