Commit 49bad2cc by FE

console to alter

parent 5061eff4
......@@ -404,23 +404,23 @@ class RedPacket extends PureComponent {
type: 1
})
copy(data.command).then(() => {
console.log('copy success');
alert('copy success');
this.setState({
isCopy: true
});
}).catch(() => {
console.log('建议您使用 Chrome, Firefox, Edge, Safari, IE11 等现代浏览器~');
alert('建议您使用 Chrome, Firefox, Edge, Safari, IE11 等现代浏览器~');
});
}
});
}else {
copy(command).then(() => {
console.log('copy success');
alert('copy success');
this.setState({
isCopy: true
});
}).catch(() => {
console.log('建议您使用 Chrome, Firefox, Edge, Safari, IE11 等现代浏览器~');
alert('建议您使用 Chrome, Firefox, Edge, Safari, IE11 等现代浏览器~');
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment