fix bug
This commit is contained in:
@ -28,13 +28,13 @@ export class PartnerAuditModalComponent implements OnInit {
|
|||||||
if(this.info.channelId) {
|
if(this.info.channelId) {
|
||||||
const value = [{
|
const value = [{
|
||||||
label: this.info.channelIdLabel,
|
label: this.info.channelIdLabel,
|
||||||
value: this.info.channelId,
|
value: this.info.channelSaleslId,
|
||||||
}]
|
}]
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if(this.sf) {
|
if(this.sf) {
|
||||||
this.sf.getProperty('/channelId')!.schema.enum = value;
|
this.sf.getProperty('/channelId')!.schema.enum = value;
|
||||||
this.sf.getProperty('/channelId')!.widget.reset(value);
|
this.sf.getProperty('/channelId')!.widget.reset(value);
|
||||||
this.sf.setValue('/channelId', this.info.channelId);
|
this.sf.setValue('/channelId', this.info.channelSaleslId);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user