atr-components 0.2.204 → 0.2.205
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.
|
@@ -4118,7 +4118,7 @@ class AtrFormComponent {
|
|
|
4118
4118
|
}
|
|
4119
4119
|
let selectUrl = item.selectUrl;
|
|
4120
4120
|
if (selectUrl.host == 'oss') {
|
|
4121
|
-
this.httpService.getOss(selectUrl).subscribe(res => {
|
|
4121
|
+
this.httpService.getOss(selectUrl.url).subscribe(res => {
|
|
4122
4122
|
item.dictList = this.conv(JSON.parse(res), keys);
|
|
4123
4123
|
if (value && value.length > 0) {
|
|
4124
4124
|
value = this.getCascaderDefaultValue(item.dictList, 0, value);
|
|
@@ -4127,7 +4127,7 @@ class AtrFormComponent {
|
|
|
4127
4127
|
});
|
|
4128
4128
|
}
|
|
4129
4129
|
else {
|
|
4130
|
-
this.httpService.post(selectUrl, {}, ToolsUtil.getHttpOptions()).subscribe(res => {
|
|
4130
|
+
this.httpService.post(selectUrl.url, {}, ToolsUtil.getHttpOptions()).subscribe(res => {
|
|
4131
4131
|
item.dictList = this.conv(res.data, keys);
|
|
4132
4132
|
if (value && value.length > 0) {
|
|
4133
4133
|
value = this.getCascaderDefaultValue(item.dictList, 0, value);
|