mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-14 05:26:45 +08:00
【智能客服需求】 加请求头
This commit is contained in:
@@ -74,6 +74,12 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created: function() {
|
created: function() {
|
||||||
|
let head = document.getElementsByTagName('head');
|
||||||
|
let meta = document.createElement('meta');
|
||||||
|
meta.name = 'referrer';
|
||||||
|
//根据实际情况修改referrer的值,可选值参考上文
|
||||||
|
meta.content = 'no-referrer';
|
||||||
|
head[0].appendChild(meta);
|
||||||
this.getHistorylist() //获取对话记录接口
|
this.getHistorylist() //获取对话记录接口
|
||||||
},
|
},
|
||||||
mounted: function() {
|
mounted: function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user