How can I get the ID of the clicked document and show it in the console?

后端 未结 0 1509
感情败类
感情败类 2020-11-22 03:34
  const setupProducts = (data) => {
  
    if (data.length) {
      let html = \'\';
      data.forEach(doc => {
        const product = doc.data();
        co         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题