提交 cbfcde03 编写于 作者: M mahaifeng

[provider]后面有不为空的参数时,不需要加?

上级 ce53df54
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
this.updateProvider(item.service, provider.providerIds, provider.providerObjects); this.updateProvider(item.service, provider.providerIds, provider.providerObjects);
}) })
}, },
updateProvider(service : string, provider ?: string[] | null, uniProvider : UniProvider[]) { updateProvider(service : string, provider : string[] | null, uniProvider : UniProvider[]) {
const item : ProviderItem | null = this.serviceList.find((item : ProviderItem) : boolean => { const item : ProviderItem | null = this.serviceList.find((item : ProviderItem) : boolean => {
return item.service == service return item.service == service
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册