This commit is contained in:
@@ -237,9 +237,14 @@ $(function () {
|
||||
location.href = commentObj.dcim_product_link;
|
||||
});
|
||||
};
|
||||
$(".line-server-btn").click(function () {
|
||||
window.open($(this).data("url"));
|
||||
});
|
||||
$(".line-server-btn").click(function () {
|
||||
const commentObj = sessionStorage.commentData
|
||||
? JSON.parse(sessionStorage.commentData)
|
||||
: null;
|
||||
if (commentObj && commentObj.online_customer_service_link) {
|
||||
window.open(commentObj.online_customer_service_link);
|
||||
}
|
||||
});
|
||||
// 跳转函数
|
||||
const goOtherPage = (url) => {
|
||||
sessionStorage.redirectUrl = location.href;
|
||||
|
||||
Reference in New Issue
Block a user