Commit 292566e7 by Sweet Zhang

双十二

parent 96ae1e34
...@@ -172,11 +172,12 @@ export class LiveComponent implements OnInit { ...@@ -172,11 +172,12 @@ export class LiveComponent implements OnInit {
} }
}; };
// questionnaireSource 为 1 表示 自动评测 // questionnaireSource 为 1 表示 自动评测
if (sessionStorage.getItem('questionnaireSource') === '1') {
if (!param || !param.survey.customerId || param.survey.customerId === 'null' || param.survey.customerId === 'undefined') { if (!param || !param.survey.customerId || param.survey.customerId === 'null' || param.survey.customerId === 'undefined') {
this.loginModalFlag = true; this.loginModalFlag = true;
return; return;
} }
if (sessionStorage.getItem('questionnaireSource') === '1') {
} }
this.commonService.saveCustomerAnwers(param).then(res => { this.commonService.saveCustomerAnwers(param).then(res => {
if (res['success']) { if (res['success']) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment