This commit is contained in:
giles 2024-09-24 10:44:26 +01:00
父节点 39c4a92f20
当前提交 73a3db7b0c
共有 1 个文件被更改,包括 17 次插入0 次删除

查看文件

@ -42,3 +42,20 @@
>
</div>
<div
hx-get="shop/order/"
hx-trigger="load delay:1ms"
hx-target="#order-form-rose-ash-shop"
hx-swap="outerHTML"
hx-on::config-request="event.detail.path += window.location.search;"
hx-on::confirm="
console.log(window.location.search)
console.log('checking...')
if (new URLSearchParams(window.location.search).get('show') !== 'buy') {
event.preventDefault();
}
"
hx-swap="outerHTML"
></div>