1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| UE.delEditor("resume"); var resume_ue = UE.getEditor('resume',{ wordCount:false, elementPathEnabled:false, initialFrameHeight:300 }) UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl; UE.Editor.prototype.getActionUrl = function (action) { if (action == 'uploadimage' || action == 'uploadscrawl' || action == 'uploadimage') { return "/api/api-ali-oss-upload/editor-upload"; } else { return this._bkGetActionUrl.call(this, action); } }
|