{% if thank %} 显示预期的 JavaScript 错误 [关闭]

问题描述 投票:0回答:0
{% if thank %}
    alert('Thanks for ordering with us. Your order is is {{id}}. Use it to track your order using our order tracker');
    localStorage.clear();
    document.location = "/shop";
{%endif%}

期待表达

javascript expression
© www.soinside.com 2019 - 2024. All rights reserved.