@panpanzhao/component-ui 1.26.401 → 1.26.403
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.
|
@@ -2179,6 +2179,11 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
|
|
2179
2179
|
return this.api.request || this.request || (this.$COMPONENT || {}).request;
|
|
2180
2180
|
}
|
|
2181
2181
|
},
|
|
2182
|
+
created: function created() {
|
|
2183
|
+
if (this.form.formModel) {
|
|
2184
|
+
this.formModel = this.form.formModel;
|
|
2185
|
+
}
|
|
2186
|
+
},
|
|
2182
2187
|
methods: {
|
|
2183
2188
|
open: function open(model, expandModel) {
|
|
2184
2189
|
var _this2 = this;
|
package/lib/components/crud.js
CHANGED
|
@@ -1724,6 +1724,11 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
|
|
1724
1724
|
return this.api.request || this.request || (this.$COMPONENT || {}).request;
|
|
1725
1725
|
}
|
|
1726
1726
|
},
|
|
1727
|
+
created: function created() {
|
|
1728
|
+
if (this.form.formModel) {
|
|
1729
|
+
this.formModel = this.form.formModel;
|
|
1730
|
+
}
|
|
1731
|
+
},
|
|
1727
1732
|
methods: {
|
|
1728
1733
|
open: function open(model, expandModel) {
|
|
1729
1734
|
var _this2 = this;
|
|
@@ -1238,6 +1238,11 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
|
|
1238
1238
|
return this.api.request || this.request || (this.$COMPONENT || {}).request;
|
|
1239
1239
|
}
|
|
1240
1240
|
},
|
|
1241
|
+
created: function created() {
|
|
1242
|
+
if (this.form.formModel) {
|
|
1243
|
+
this.formModel = this.form.formModel;
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1241
1246
|
methods: {
|
|
1242
1247
|
open: function open(model, expandModel) {
|
|
1243
1248
|
var _this2 = this;
|
|
@@ -1724,6 +1724,11 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
|
|
1724
1724
|
return this.api.request || this.request || (this.$COMPONENT || {}).request;
|
|
1725
1725
|
}
|
|
1726
1726
|
},
|
|
1727
|
+
created: function created() {
|
|
1728
|
+
if (this.form.formModel) {
|
|
1729
|
+
this.formModel = this.form.formModel;
|
|
1730
|
+
}
|
|
1731
|
+
},
|
|
1727
1732
|
methods: {
|
|
1728
1733
|
open: function open(model, expandModel) {
|
|
1729
1734
|
var _this2 = this;
|