component-shipinlv 1.0.13 → 1.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,6 +30,7 @@ var VideoPublishCreateTask = function VideoPublishCreateTask(_ref) {
30
30
  normalVideoRate: 1,
31
31
  normalVideoRateType: 'hour',
32
32
  normalDayMaxCount: 1,
33
+ startTime: null,
33
34
  salesVideoRate: 2,
34
35
  salesVideoRateType: 'hour',
35
36
  salesDayMaxCount: 2,
@@ -195,6 +196,7 @@ var VideoPublishCreateTask = function VideoPublishCreateTask(_ref) {
195
196
  };
196
197
  }();
197
198
  var onFinish = function onFinish(values) {
199
+ var _values$startTime;
198
200
  var videoList = [];
199
201
  if (formData.videoFrom === 'local') {
200
202
  localSelectList.forEach(function (item) {
@@ -226,6 +228,7 @@ var VideoPublishCreateTask = function VideoPublishCreateTask(_ref) {
226
228
  });
227
229
  }
228
230
  var data = _objectSpread(_objectSpread(_objectSpread({}, formData), values), {}, {
231
+ startTime: values.startTime ? parseInt((((_values$startTime = values.startTime) === null || _values$startTime === void 0 ? void 0 : _values$startTime.valueOf()) * 0.001).toFixed(0)) : 0,
229
232
  videoList: videoList
230
233
  });
231
234
  if (videoList.length === 0) {
@@ -98,6 +98,7 @@ declare namespace VideoPublish {
98
98
  salesVideoRateType: 'hour' | 'day';
99
99
  salesDayMaxCount: number;
100
100
  accountList: string[];
101
+ startTime: number | null;
101
102
  videoList: {
102
103
  taskId: number;
103
104
  productType: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-shipinlv",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",