component-shipinlv 1.0.13 → 1.0.15
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.
@@ -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) {
|