element-ui-root 1.9.0 → 2.0.0

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.
@@ -133873,6 +133873,10 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
133873
133873
  type: Boolean,
133874
133874
  default: () => true
133875
133875
  },
133876
+ check: {
133877
+ type: Boolean,
133878
+ default: () => true
133879
+ },
133876
133880
  action: {
133877
133881
  type: Boolean,
133878
133882
  default: () => true
@@ -133971,6 +133975,7 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
133971
133975
 
133972
133976
  submit() {
133973
133977
  // 提交表单
133978
+ if (!this.check) this.$emit('submit');
133974
133979
  let pass = false; // 判断是否是空表单
133975
133980
 
133976
133981
  for (let a in this.form) {
package/dist/index.umd.js CHANGED
@@ -133882,6 +133882,10 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
133882
133882
  type: Boolean,
133883
133883
  default: () => true
133884
133884
  },
133885
+ check: {
133886
+ type: Boolean,
133887
+ default: () => true
133888
+ },
133885
133889
  action: {
133886
133890
  type: Boolean,
133887
133891
  default: () => true
@@ -133980,6 +133984,7 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
133980
133984
 
133981
133985
  submit() {
133982
133986
  // 提交表单
133987
+ if (!this.check) this.$emit('submit');
133983
133988
  let pass = false; // 判断是否是空表单
133984
133989
 
133985
133990
  for (let a in this.form) {