pull/1/head
袁野 4 years ago
parent 61d7d2f9b5
commit 25a03352cb
  1. 4
      src/assets/node_modules/@notadd/neditor/neditor.service.js

@ -5,12 +5,12 @@
* @returns 返回自定义的上传接口 * @returns 返回自定义的上传接口
*/ */
let UPLOADFILE = 'https://·/brest//fileUpload/uploadfile'; let UPLOADFILE = 'https://nc.jyfwy.cn/crest//fileUpload/uploadfile';
UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl; UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl;
UE.Editor.prototype.getActionUrl = function(action) { UE.Editor.prototype.getActionUrl = function(action) {
/* 按config中的xxxActionName返回对应的接口地址 */ /* 按config中的xxxActionName返回对应的接口地址 */
if (action == 'uploadimage' || action == 'uploadscrawl') { if (action === 'uploadimage' || action == 'uploadscrawl') {
return UPLOADFILE; return UPLOADFILE;
} else if (action == 'uploadvideo') { } else if (action == 'uploadvideo') {
return UPLOADFILE; return UPLOADFILE;

Loading…
Cancel
Save