eli-video-interview 1.2.41-alpha.37 → 1.2.41-alpha.38

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.
@@ -95,12 +95,12 @@ var AiQuestionRoot = forwardRef(function (props, ref) {
95
95
  handleValues: handleValues,
96
96
  handleTemplate: function (steps) { return addModel(steps); },
97
97
  handleSubmit: function () { return __awaiter(void 0, void 0, void 0, function () {
98
- var _a, _b, name, token, questions, aiModel, _c, mediaUrl, thumbUrl, appliedAllPosition, data, error_1;
98
+ var _a, _b, name, token, questions, aiModel, _c, pcUrl, pcThumbUrl, mediaUrl, thumbUrl, appliedAllPosition, data, error_1;
99
99
  return __generator(this, function (_d) {
100
100
  switch (_d.label) {
101
101
  case 0: return [4 /*yield*/, handleValues()];
102
102
  case 1:
103
- _a = _d.sent(), _b = _a.data, name = _b.name, token = _b.token, questions = _b.steps, aiModel = _b.aiModel, _c = _a.media, mediaUrl = _c.mediaUrl, thumbUrl = _c.thumbUrl, appliedAllPosition = _c.appliedAllPosition;
103
+ _a = _d.sent(), _b = _a.data, name = _b.name, token = _b.token, questions = _b.steps, aiModel = _b.aiModel, _c = _a.media, pcUrl = _c.pcUrl, pcThumbUrl = _c.pcThumbUrl, mediaUrl = _c.mediaUrl, thumbUrl = _c.thumbUrl, appliedAllPosition = _c.appliedAllPosition;
104
104
  if (!(questions === null || questions === void 0 ? void 0 : questions.length)) {
105
105
  Message.error('还未添加题目,请添加题目');
106
106
  return [2 /*return*/, Promise.reject()];
@@ -113,7 +113,7 @@ var AiQuestionRoot = forwardRef(function (props, ref) {
113
113
  data = (_d.sent()).data;
114
114
  return [2 /*return*/, Promise.resolve({
115
115
  code: 0,
116
- data: __assign(__assign({}, data), { mediaUrl: mediaUrl, thumbUrl: thumbUrl, appliedAllPosition: appliedAllPosition }),
116
+ data: __assign(__assign({}, data), { pcUrl: pcUrl, pcThumbUrl: pcThumbUrl, mediaUrl: mediaUrl, thumbUrl: thumbUrl, appliedAllPosition: appliedAllPosition }),
117
117
  message: '保存成功',
118
118
  })];
119
119
  case 4:
@@ -100,12 +100,12 @@ var AiQuestionRoot = (0, react_1.forwardRef)(function (props, ref) {
100
100
  handleValues: handleValues,
101
101
  handleTemplate: function (steps) { return addModel(steps); },
102
102
  handleSubmit: function () { return __awaiter(void 0, void 0, void 0, function () {
103
- var _a, _b, name, token, questions, aiModel, _c, mediaUrl, thumbUrl, appliedAllPosition, data, error_1;
103
+ var _a, _b, name, token, questions, aiModel, _c, pcUrl, pcThumbUrl, mediaUrl, thumbUrl, appliedAllPosition, data, error_1;
104
104
  return __generator(this, function (_d) {
105
105
  switch (_d.label) {
106
106
  case 0: return [4 /*yield*/, handleValues()];
107
107
  case 1:
108
- _a = _d.sent(), _b = _a.data, name = _b.name, token = _b.token, questions = _b.steps, aiModel = _b.aiModel, _c = _a.media, mediaUrl = _c.mediaUrl, thumbUrl = _c.thumbUrl, appliedAllPosition = _c.appliedAllPosition;
108
+ _a = _d.sent(), _b = _a.data, name = _b.name, token = _b.token, questions = _b.steps, aiModel = _b.aiModel, _c = _a.media, pcUrl = _c.pcUrl, pcThumbUrl = _c.pcThumbUrl, mediaUrl = _c.mediaUrl, thumbUrl = _c.thumbUrl, appliedAllPosition = _c.appliedAllPosition;
109
109
  if (!(questions === null || questions === void 0 ? void 0 : questions.length)) {
110
110
  fbm_ui_1.Message.error('还未添加题目,请添加题目');
111
111
  return [2 /*return*/, Promise.reject()];
@@ -118,7 +118,7 @@ var AiQuestionRoot = (0, react_1.forwardRef)(function (props, ref) {
118
118
  data = (_d.sent()).data;
119
119
  return [2 /*return*/, Promise.resolve({
120
120
  code: 0,
121
- data: __assign(__assign({}, data), { mediaUrl: mediaUrl, thumbUrl: thumbUrl, appliedAllPosition: appliedAllPosition }),
121
+ data: __assign(__assign({}, data), { pcUrl: pcUrl, pcThumbUrl: pcThumbUrl, mediaUrl: mediaUrl, thumbUrl: thumbUrl, appliedAllPosition: appliedAllPosition }),
122
122
  message: '保存成功',
123
123
  })];
124
124
  case 4:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eli-video-interview",
3
- "version": "1.2.41-alpha.37",
3
+ "version": "1.2.41-alpha.38",
4
4
  "description": "鳄梨科技 AI视频面试 React SDK",
5
5
  "author": "鳄梨科技",
6
6
  "license": "MIT",