vue2-client 1.9.39 → 1.9.40

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": "vue2-client",
3
- "version": "1.9.39",
3
+ "version": "1.9.40",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -106,7 +106,7 @@ export default {
106
106
  // 初始化文档
107
107
  onload: function (e) {
108
108
  this.editorRef = e.target.contentWindow.editor
109
- this.emit('init', {})
109
+ this.$emit('init', {})
110
110
  },
111
111
  // 初始化组件
112
112
  init (params) {
@@ -145,7 +145,7 @@ export default {
145
145
  this.changeMode()
146
146
  this.fileUrl = fileUrl
147
147
  this.loading = false
148
- this.emit('afterLoadFile', {})
148
+ this.$emit('afterLoadFile', {})
149
149
  })
150
150
  },
151
151
  // 修改模式