在vue+mongoose+nodejs(express)项目
用这种没问题
用这种就报错
CastError: Cast to ObjectId failed for value "${this.id}" (type string) at path "_id" for model "Category"
messageFormat: undefined,
stringValue: '"${this.id}"',
kind: 'ObjectId',
value: '${this.id}',
path: '_id',
reason: Error: Argument passed in must be
a single String of 12 bytes or a string of 24 hex characters
他们说是模版字符串的问题,然后我去看了不知道怎么写,求解