URL中引用变量值得问题?

小程序 文章 2022-03-18 13:00 365 0 全屏看文

AI助手支持GPT4.0

URL中引用变量值得问题?Is referencing variable in URL worth the problem?

URL中引用变量值得问题?

${this.data.query.id}格式写错了吗?

shopList数组中的数据为0,直接用 url: 'https://www.escook.cn/categories/1/shops'可以得到数据。


Is ${this. Data. Query. ID} in the wrong format? The data in shoplist array is 0, and URL: 'is used directly https://www.escook.cn/categories/1/shops 'data can be obtained.

回答:

Mr.Zhao:

反引号,写错了

多明亮:不明白
Mr.Zhao:
多明亮:多谢
猫街少女:

我从16号中午12:47通过微信客户端和moment@tencent.com投诉赌博网站,到现在一直没人处理,投诉就是个摆设吗?

小黎:

`https://xxxxx/${this.data.query.id}/shops`

多明亮:不明白
小黎:反引号,键盘Esc健下面那个

-EOF-

AI助手支持GPT4.0