cnhis-design-vue 3.1.14-beta.11.2 → 3.1.14-beta.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -357,14 +357,14 @@ var script = /* @__PURE__ */ defineComponent({
357
357
  };
358
358
  const initCRM = async (formatListResult) => {
359
359
  var _a;
360
- state.formatList = formatListResult ? formatFormatList(formatListResult.obj) : [];
361
360
  console.log("formatListResult", formatListResult);
361
+ state.formatList = formatListResult ? formatFormatList(formatListResult.obj) : [];
362
362
  state.currentFormatId = getDefaultFormatId(state.formatList, "defaultFlag");
363
- setOptions();
364
363
  if (!state.currentFormatId) {
365
364
  $message.error("\u83B7\u53D6\u6253\u5370\u683C\u5F0F\u5931\u8D25\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\uFF01");
366
365
  return requestError();
367
366
  }
367
+ setOptions();
368
368
  if (!state.currentFormatId) {
369
369
  requestError();
370
370
  return;