workflow-editor 0.0.56-up → 0.0.56-up-tmp2

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,7 +1,7 @@
1
1
  {
2
2
  "name": "workflow-editor",
3
3
  "private": false,
4
- "version": "0.0.56-up",
4
+ "version": "0.0.56-up-tmp2",
5
5
  "type": "module",
6
6
  "main": "./lib/workflow-editor.js",
7
7
  "scripts": {
package/packages/index.js CHANGED
@@ -13,6 +13,7 @@ const components = [
13
13
 
14
14
  // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
15
15
  const install = function(Vue) {
16
+ alert('wfEditor---package--install---888888')
16
17
  if (install.installed) return
17
18
  components.forEach(component => {
18
19
  Vue.component(component.name, component)
@@ -21,10 +22,10 @@ const install = function(Vue) {
21
22
  Vue.use(formValidator)
22
23
  }
23
24
 
24
- // 判断是否是直接引入vue的js文件,即全局引用可自动安装所有组件
25
- if (typeof window !== 'undefined' && window.Vue) {
26
- install(window.Vue)
27
- }
25
+ // // 判断是否是直接引入vue的js文件,即全局引用可自动安装所有组件
26
+ // if (typeof window !== 'undefined' && window.Vue) {
27
+ // install(window.Vue)
28
+ // }
28
29
 
29
30
  export default {
30
31
  // 导出的对象必须具有 install,才能被 Vue.use() 方法安装