提交 131cf455 编写于 作者: RedPig97's avatar RedPig97

update:修复报错

上级 f5298c45
...@@ -70,7 +70,9 @@ export default class AppAuthOrgPicker extends Vue { ...@@ -70,7 +70,9 @@ export default class AppAuthOrgPicker extends Vue {
const selectedValue = this.selectedOrgArray.find((item: any) => { const selectedValue = this.selectedOrgArray.find((item: any) => {
return item.srforgsectorid == this.value; return item.srforgsectorid == this.value;
}); });
return selectedValue?.srforgsectorname; if (selectedValue) {
return selectedValue.srforgsectorname;
}
} }
} }
......
...@@ -291,13 +291,13 @@ export default class AppThirdLogin extends Vue { ...@@ -291,13 +291,13 @@ export default class AppThirdLogin extends Vue {
* @memberof AppThirdService * @memberof AppThirdService
*/ */
public handleRequestData(data: any) { public handleRequestData(data: any) {
if (data?.srfsessionkey) { if (data.srfsessionkey) {
delete data.srfsessionkey; delete data.srfsessionkey;
} }
if (data?.srfsessionid) { if (data.srfsessionid) {
delete data.srfsessionid; delete data.srfsessionid;
} }
if (data?.srfparentdemapname) { if (data.srfparentdemapname) {
delete data.srfparentdemapname; delete data.srfparentdemapname;
} }
return data; return data;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册