@titaui/pc 1.15.33 → 1.15.34

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.
@@ -137,12 +137,12 @@ var EKrNode = function EKrNode(props) {
137
137
  allowObjectOptions: true,
138
138
  labelOption: {
139
139
  isOnlyCurrent: true,
140
- labelId: data.mileStoneId,
140
+ labelId: data.mileStoneId === 0 ? data.workId : data.mileStoneId,
141
141
  workId: data.workId,
142
142
  workName: okrInfo.workName,
143
- name: data.mileStoneName,
143
+ name: data.mileStoneId === 0 ? okrInfo.workName : data.mileStoneName,
144
144
  krId: data.mileStoneId,
145
- type: "kr"
145
+ type: data.mileStoneId === 0 ? 'okr' : 'kr'
146
146
  }
147
147
  }
148
148
  }).then(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.15.33",
3
+ "version": "1.15.34",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",