modified
This commit is contained in:
parent
dea1b6a851
commit
3750585b89
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user