js从数组中找到某个对象


  handel(ide) {
      let that = this;
      console.log(that.goodCaseList);
      let detailData = that.goodCaseList.find((v) => {
        return v.id == ide;
      });
posted @ 2022-09-19 13:29  xuelin  阅读(62)  评论(0)    收藏  举报