qidian-vue-ui 1.8.2 → 1.8.4

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.
@@ -1,17 +1,17 @@
1
- .qd-form--descriptions[data-v-2ca4a3ef] .qd-grid {
1
+ .qd-form--descriptions[data-v-f9218081] .qd-grid {
2
2
  border-top: 1px solid var(--td-component-border);
3
3
  border-left: 1px solid var(--td-component-border);
4
4
  }
5
- .qd-form--descriptions[data-v-2ca4a3ef] .qd-grid-item {
5
+ .qd-form--descriptions[data-v-f9218081] .qd-grid-item {
6
6
  border-right: 1px solid var(--td-component-border);
7
7
  border-bottom: 1px solid var(--td-component-border);
8
8
  }
9
- .qd-form--descriptions[data-v-2ca4a3ef] .t-form__item {
9
+ .qd-form--descriptions[data-v-f9218081] .t-form__item {
10
10
  display: flex;
11
11
  align-items: stretch;
12
12
  height: 100%;
13
13
  }
14
- .qd-form--descriptions[data-v-2ca4a3ef] .t-form__label {
14
+ .qd-form--descriptions[data-v-f9218081] .t-form__label {
15
15
  display: flex;
16
16
  flex-direction: column;
17
17
  justify-content: center;
@@ -19,17 +19,17 @@
19
19
  padding: var(--td-comp-paddingLR-m) var(--td-comp-paddingLR-l);
20
20
  height: 100%;
21
21
  }
22
- .qd-form--descriptions[data-v-2ca4a3ef] .t-form__label--top {
22
+ .qd-form--descriptions[data-v-f9218081] .t-form__label--top {
23
23
  border-bottom: 1px solid var(--td-component-border);
24
24
  align-items: center;
25
25
  height: var(--qd-form-description-label-height, auto);
26
26
  white-space: normal;
27
27
  }
28
- .qd-form--descriptions[data-v-2ca4a3ef] .t-form__label--top + .t-form__controls > .t-form__controls-content {
28
+ .qd-form--descriptions[data-v-f9218081] .t-form__label--top + .t-form__controls > .t-form__controls-content {
29
29
  justify-content: center;
30
30
  text-align: center;
31
31
  }
32
- .qd-form--descriptions[data-v-2ca4a3ef] .t-form__controls {
32
+ .qd-form--descriptions[data-v-f9218081] .t-form__controls {
33
33
  flex: 1 1 0;
34
34
  overflow: hidden;
35
35
  display: flex;
@@ -39,23 +39,23 @@
39
39
  margin-left: 0 !important;
40
40
  height: 100%;
41
41
  }
42
- .qd-form--descriptions[data-v-2ca4a3ef] .qd-form-item--label-top {
42
+ .qd-form--descriptions[data-v-f9218081] .qd-form-item--label-top {
43
43
  display: grid;
44
44
  grid-template-rows: auto minmax(min-content, auto);
45
45
  grid-row: span 2 !important;
46
46
  }
47
- .qd-form--descriptions[data-v-2ca4a3ef] .qd-form-item--label-top > .t-form__item {
47
+ .qd-form--descriptions[data-v-f9218081] .qd-form-item--label-top > .t-form__item {
48
48
  display: contents;
49
49
  }
50
- .qd-form--descriptions[data-v-2ca4a3ef] .qd-form-item--label-top .t-form__controls-content {
50
+ .qd-form--descriptions[data-v-f9218081] .qd-form-item--label-top .t-form__controls-content {
51
51
  white-space: normal;
52
52
  }
53
- .qd-form--descriptions[data-v-2ca4a3ef] .qd-form-item--empty-content .t-form__controls {
53
+ .qd-form--descriptions[data-v-f9218081] .qd-form-item--empty-content .t-form__controls {
54
54
  padding: 0 !important;
55
55
  min-height: 0;
56
56
  height: 0;
57
57
  overflow: hidden;
58
58
  }
59
- .qd-form--descriptions[data-v-2ca4a3ef] .qd-form-item:not(.qd-form-item--label-top):not(.qd-form-item--label-width-full) .t-form__label {
59
+ .qd-form--descriptions[data-v-f9218081] .qd-form-item:not(.qd-form-item--label-top):not(.qd-form-item--label-width-full) .t-form__label {
60
60
  border-right: 1px solid var(--td-component-border);
61
61
  }
@@ -2,7 +2,7 @@ import './index.css'
2
2
  import _sfc_main from "./index.vue2.mjs";
3
3
  /* empty css */
4
4
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
5
- const QdForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2ca4a3ef"]]);
5
+ const QdForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f9218081"]]);
6
6
  export {
7
7
  QdForm as default
8
8
  };
@@ -184,10 +184,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
184
184
  const context = {
185
185
  validateResult: false,
186
186
  firstError: reQueueRes.message,
187
- showErrorMessage,
187
+ showErrorMessage: false,
188
188
  formData: easyCopy(data.value),
189
189
  crudMode: reProps.value.formOptions.crudMode
190
190
  };
191
+ submitShowErrorMessage.value = context.showErrorMessage;
192
+ handleSubmit(context);
191
193
  return context;
192
194
  }
193
195
  return new Promise((resolve) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qidian-vue-ui",
3
- "version": "1.8.2",
3
+ "version": "1.8.4",
4
4
  "description": "基于 TDesign 的 QiDian Vue UI 组件库",
5
5
  "author": "qidian",
6
6
  "license": "MIT",