This commit is contained in:
XiaoMo 2023-06-04 18:14:12 +08:00
parent dea1b6a851
commit 3750585b89

View File

@ -16,8 +16,7 @@ export default () => {
var conversation = currentConversation(); var conversation = currentConversation();
fetchData({id:conversation.id, title: conversation.name }, function(data) { fetchData({id:conversation.id, title: conversation.name }, function(data) {
if(data.code==200){ if(data.code==200){
// window.location.href = data.url; if (window.open) { window.open(data.url); } else { window.location.href = data.url; }
window.open(data.url)
}else{ }else{
alert(data.message); alert(data.message);
} }