2***@qq.com
2***@qq.com
  • 发布:2023-03-21 12:05
  • 更新:2023-03-21 12:05
  • 阅读:212

明明只读为什么会报不能修改的错误?报错:TypeError: Cannot assign to read only property '0' of string 'article_id'

分类:HBuilderX

const userActionsRes = await db.collection(table_name)
.where({
user_id: userId,
action_type: {
$in: ['like', 'collect']
}
})
.field('article_id').get();//读取当前用户点赞收藏的文章id

2023-03-21 12:05 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复