chywx

var emp = [\'abs\',\'dsf\',\'sdf\',\'fd\']
var index = emp.indexOf(\'fd\');
if (index > -1) {
emp.splice(index, 1);
}
alert(emp);

 

var reqAnswerObj={};//将集合转为map操作。
for (var answer of this.data.reqAnswer){
var bid = answer.questionBId ? answer.questionBId : 0;
reqAnswerObj[answer.questionId+"_"+bid] = answer;
}
console.log(reqAnswerObj);

 

 

 

 

 

 

 

dialog组件

 

 pages页面

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-11-23
  • 2021-05-01
  • 2022-01-06
  • 2021-09-02
猜你喜欢
  • 2021-07-21
  • 2021-08-10
  • 2021-12-12
  • 2022-02-07
  • 2022-02-25
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案