workflow-editor 0.0.88-up-cdn1 → 0.0.89-up

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.88-up-cdn1",
4
+ "version": "0.0.89-up",
5
5
  "type": "module",
6
6
  "main": "./lib/workflow-editor.js",
7
7
  "scripts": {
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "devDependencies": {
18
18
  "@vitejs/plugin-vue": "^4.2.3",
19
- "agilebuilder-ui": "1.1.99-cdn1",
19
+ "agilebuilder-ui": "1.1.99",
20
20
  "axios": "^1.5.1",
21
21
  "element-plus": "^2.4.1",
22
22
  "font-awesome": "^4.7.0",
package/packages/index.js CHANGED
@@ -22,9 +22,9 @@ const install = function(Vue) {
22
22
  }
23
23
 
24
24
  // 判断是否是直接引入vue的js文件,即全局引用可自动安装所有组件
25
- // if (typeof window !== 'undefined' && window.Vue) {
26
- // install(window.Vue)
27
- // }
25
+ if (typeof window !== 'undefined' && window.Vue) {
26
+ install(window.Vue)
27
+ }
28
28
 
29
29
  export default {
30
30
  // 导出的对象必须具有 install,才能被 Vue.use() 方法安装
@@ -406,6 +406,8 @@ function validatorEntity(
406
406
  if (pageNum !== null && pageNum !== undefined && pageRowIndex !== null && pageRowIndex !== undefined) {
407
407
  myResult.pageNum = pageNum
408
408
  myResult.rowIndex = pageRowIndex
409
+ } else if (pageRowIndex === null || pageRowIndex === undefined) {
410
+ myResult.rowIndex = rowIndex
409
411
  }
410
412
  allErrors.push(myResult)
411
413
  })