eoss-mobiles 0.3.64 → 0.3.65

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": "eoss-mobiles",
3
- "version": "0.3.64",
3
+ "version": "0.3.65",
4
4
  "description": "eoss内部移动端业务组件",
5
5
  "main": "lib/eoss-mobile.common.js",
6
6
  "files": [
@@ -1739,12 +1739,13 @@ export default {
1739
1739
  ...res.data.taskOperations,
1740
1740
  ...that.taskOperations
1741
1741
  ];
1742
+ let isSelected = false;
1743
+ let isSelectIndex = 0;
1742
1744
  if (that.taskOperations && that.taskOperations.length > 0) {
1743
- let isSelected = false;
1744
- that.taskOperations.map((item) => {
1745
+ that.taskOperations.map((item,index) => {
1745
1746
  if (item.isSelected || that.taskOperations.length == 1) {
1746
-
1747
1747
  isSelected = true;
1748
+ isSelectIndex = index;
1748
1749
  if (that.taskOperations.length == 1) {
1749
1750
 
1750
1751
  if (that.taskOperations[0].isNextNode) {
@@ -1836,9 +1837,9 @@ export default {
1836
1837
  that.changeNextOperate(
1837
1838
  {
1838
1839
  value: that.form.nextOperateName,
1839
- key: that.taskOperations[0].key,
1840
- nextOperate: that.taskOperations[0].nextOperate,
1841
- isNextNode:that.taskOperations[0].isNextNode,
1840
+ key: that.taskOperations[isSelectIndex].key,
1841
+ nextOperate: that.taskOperations[isSelectIndex].nextOperate,
1842
+ isNextNode:that.taskOperations[isSelectIndex].isNextNode,
1842
1843
  taskNodeList: that.nodeList
1843
1844
  },
1844
1845
  true
package/src/index.js CHANGED
@@ -105,7 +105,7 @@ if (typeof window !== 'undefined' && window.Vue) {
105
105
  }
106
106
 
107
107
  export default {
108
- version: '0.3.64',
108
+ version: '0.3.65',
109
109
  install,
110
110
  Button,
111
111
  ButtonGroup,