@tmagic/form 1.3.0-alpha.15 → 1.3.0-alpha.16

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.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.0-alpha.15",
2
+ "version": "1.3.0-alpha.16",
3
3
  "name": "@tmagic/form",
4
4
  "type": "module",
5
5
  "sideEffects": [
@@ -36,8 +36,8 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@element-plus/icons-vue": "^2.0.9",
39
- "@tmagic/design": "1.3.0-alpha.15",
40
- "@tmagic/utils": "1.3.0-alpha.15",
39
+ "@tmagic/design": "1.3.0-alpha.16",
40
+ "@tmagic/utils": "1.3.0-alpha.16",
41
41
  "lodash-es": "^4.17.21",
42
42
  "sortablejs": "^1.14.0",
43
43
  "vue": "^3.3.4"
@@ -46,7 +46,7 @@
46
46
  <TMagicButton v-if="hasStep && stepCount > stepActive" type="info" size="small" @click="nextStep"
47
47
  >下一步</TMagicButton
48
48
  >
49
- <TMagicButton v-else type="primary" size="small" :loading="saveFetch" @click="save">{{
49
+ <TMagicButton v-else type="primary" size="small" :disabled="disabled" :loading="saveFetch" @click="save">{{
50
50
  confirmText
51
51
  }}</TMagicButton>
52
52
  </slot>
@@ -36,7 +36,9 @@
36
36
  <TMagicCol :span="12">
37
37
  <slot name="footer">
38
38
  <TMagicButton @click="hide">关闭</TMagicButton>
39
- <TMagicButton type="primary" @click="submitHandler" :loading="saveFetch">{{ confirmText }}</TMagicButton>
39
+ <TMagicButton type="primary" :disabled="disabled" :loading="saveFetch" @click="submitHandler">{{
40
+ confirmText
41
+ }}</TMagicButton>
40
42
  </slot>
41
43
  </TMagicCol>
42
44
  </TMagicRow>