浏览代码

富文本服务器地址修改

zhouna 6 年之前
父节点
当前提交
dd797db09d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/components/icss/InfoParagraph.vue

+ 2 - 2
src/components/icss/InfoParagraph.vue

@@ -47,7 +47,7 @@
               ImageExtend: {
               ImageExtend: {
                 loading: true,
                 loading: true,
                 name: 'upfile',
                 name: 'upfile',
-                action: config.promptServer,
+                action: config.urls.promptServer,
                 response: (res) => {
                 response: (res) => {
                   return config.imgHost+res.url;
                   return config.imgHost+res.url;
                 }
                 }
@@ -116,7 +116,7 @@
         let data = this.form;
         let data = this.form;
         let pst=this.form.position;
         let pst=this.form.position;
         pst = typeof pst=='string'?pst:pst.join(',');
         pst = typeof pst=='string'?pst:pst.join(',');
-        data =   Object.assign({},data,{position:this.form.position?pst:'',orderNo:this.index});
+        data =   Object.assign({},data,{position:this.form.position?pst:'',orderNo:this.index,text:''});
         this.$emit("change",this.index,data);
         this.$emit("change",this.index,data);
       }
       }
     }
     }