ps-toolkit-ui 1.5.22 → 1.5.23
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/bundles/ps-toolkit-ui.umd.js +3 -0
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/form.class.js +3 -1
- package/esm2015/lib/components/table/row/table.row.component.js +2 -1
- package/fesm2015/ps-toolkit-ui.js +3 -0
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -1582,11 +1582,13 @@
|
|
|
1582
1582
|
}
|
|
1583
1583
|
FormClass.prototype.loadData = function (url) {
|
|
1584
1584
|
var _this = this;
|
|
1585
|
+
console.log(url);
|
|
1585
1586
|
this.loading = true;
|
|
1586
1587
|
new RequestClass(this.environment, this.l).send(url, exports.Method.Post, null, null, function (result) {
|
|
1587
1588
|
setTimeout(function () {
|
|
1588
1589
|
_this.setData(result);
|
|
1589
1590
|
_this.loading = false;
|
|
1591
|
+
console.log('this.onLoad');
|
|
1590
1592
|
if (_this.onLoad) {
|
|
1591
1593
|
_this.onLoad(result);
|
|
1592
1594
|
}
|
|
@@ -2733,6 +2735,7 @@
|
|
|
2733
2735
|
if (opt.modal.form) {
|
|
2734
2736
|
opt.modal.form.name = option.Name;
|
|
2735
2737
|
opt.modal.form.url = option.Url.replace('{}', _this.row.Data.Id) + '-update';
|
|
2738
|
+
console.log(opt.modal.form.url);
|
|
2736
2739
|
opt.modal.form.loadData(option.Url.replace('{}', _this.row.Data.Id) + '-get');
|
|
2737
2740
|
opt.modal.form.onSuccessBase = function () {
|
|
2738
2741
|
opt.modal.hide();
|