dever 6 years ago
parent
commit
fac6c97885
2 changed files with 2 additions and 1 deletions
  1. 1 1
      assets/lib/kindeditor/kindeditor-all-min.js
  2. 1 0
      assets/lib/manage/main.js

+ 1 - 1
assets/lib/kindeditor/kindeditor-all-min.js

@@ -10293,7 +10293,7 @@ function autoImg(self) {
     var sstr = '';
     $(img).each(function (i) {
         var that = $(this);
-        var host = gethost(self.uploadJson);
+        var host = gethost(self.uploadResJson);
         var yhost = '';
         if (self.uploadYunJson && self.uploadYunJson.host) {
         	yhost = gethost(self.uploadYunJson.host);

+ 1 - 0
assets/lib/manage/main.js

@@ -396,6 +396,7 @@ function loadEditorParam(e)
 		filePostName : 'file',
 		dialogOffset : 0, //对话框距离页面顶部的位置,默认为0居中,
 		uploadJson : config.upload + '.kindeditor?key=' + key,
+		uploadResJson : config.uploadRes + '.kindeditor?key=' + key,
 		uploadMediaJson : config.upload + '.kindeditor?key=' + media,
 		uploadYunJson : yun,
 		fileManagerJson : view + '.files?key=' + media,