component_ryl 1.0.16 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -170,6 +170,26 @@
170
170
  # v-money -- 只能输入金额,默认2位小数 -- 可传入传参max,表示最大值,如:v-number="{ max: 100 }"
171
171
  # 方法:
172
172
  # <el-input v-model="pwd" v-money />
173
+ # 7.富文本 -- tinymce
174
+ # <tinymce
175
+ # id="myEditor" //唯一容器id
176
+ # :height="400" // 默认400
177
+ # v-model="content"
178
+ # :uploadType="'initUpload'" // 图片上传方式 默认:base64 自定义上传:initUpload
179
+ # @handleImgUpload="handleImgUpload" // 如果是自定义上传,这个方法接收3个参数,如下:
180
+ # />
181
+
182
+ # handleImgUpload(blobInfo, success, failure){
183
+ # let formdata = new FormData();
184
+ # formdata.append("file", blobInfo.blob());
185
+ # 接口请求参数为:
186
+ # axios({
187
+ # ...
188
+ # data: formdata
189
+ # }).then(res=>{
190
+ # success(res.data.url)
191
+ # })
192
+ # }
173
193
 
174
194
  # serve with hot reload at localhost:8080
175
195
  # npm run dev
@@ -189,6 +209,10 @@
189
209
  #1.0.14: dialog 弹窗 右上角 添加关闭 xx
190
210
  #1.0.15: dialog 弹窗 btnCount 2(两个按钮 -- 默认) 1 (1个按钮) 0 (无按钮)
191
211
  #1.0.16: 底部版权信息 识别标签
212
+ #1.0.17: 新增富文本 tinymce
213
+ #1.0.18: 新增富文本 tinymce
214
+ #1.0.19: 新增富文本 tinymce
215
+ #1.0.20: 新增富文本 tinymce
192
216
  ```
193
217
 
194
218
  For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader).