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
|
@@ -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 = [
|