ecinc-cloud-moahygl 9.5.232 → 9.5.233

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/index.js CHANGED
@@ -118,11 +118,11 @@ const components = {
118
118
  HyglNewTouPiao
119
119
  }
120
120
  // 定义 install 方法
121
- const install = function(Vue) {
121
+ const install = function (Vue) {
122
122
  if (install.installed) return
123
123
  install.installed = true
124
124
  // 遍历并注册全局组件
125
- Object.keys(components).forEach(key => {
125
+ Object.keys(components).forEach((key) => {
126
126
  Vue.component(key, components[key])
127
127
  })
128
128
  }
@@ -131,10 +131,10 @@ if (typeof window !== 'undefined' && window.Vue) {
131
131
  install(window.Vue)
132
132
  }
133
133
  const $messages = require('./lang/index')
134
+
134
135
  export default {
135
136
  // 导出的对象必须具备一个 install 方法
136
137
  install,
137
138
  // 组件列表
138
- ...components,
139
- $messages
139
+ ...components
140
140
  }