zydx-plus 1.19.102 → 1.19.103

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zydx-plus",
3
- "version": "1.19.102",
3
+ "version": "1.19.103",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -176,7 +176,7 @@ export default {
176
176
  default: true
177
177
  }
178
178
  },
179
- emits: ['see','del','complete','update:data'],
179
+ emits: ['see','del','complete','update:data','enclosureSuccess'],
180
180
  watch:{
181
181
  data(e) {
182
182
  this.editor.commands.setContent(json2html({node: "root",child: (e.html === undefined)? [] : e.html}))
@@ -285,6 +285,7 @@ export default {
285
285
  if(v === 'uploadAtt') {
286
286
  r.data.annex.active = true
287
287
  this.uploadAttData.push(r.data.annex)
288
+ this.$emit('enclosureSuccess', r.data.annex)
288
289
  }else {
289
290
  const url = this.uploadImage.url + r.data
290
291
  const html = [
package/src/index.js CHANGED
@@ -57,7 +57,7 @@ function install(app) {
57
57
  }
58
58
 
59
59
  export default {
60
- version: '1.19.102',
60
+ version: '1.19.103',
61
61
  install,
62
62
  Calendar,
63
63
  Message,