[PROMOTE] 晉升 dev 變更至 demo 環境
1. [FIX] 修正機台管理頁面的表單提交行為與導向邏輯 (#23b3ea1)
This commit is contained in:
commit
89f29e6d52
@ -297,7 +297,8 @@
|
||||
|
||||
<div class="space-y-4 pb-20" x-data="machineApp()"
|
||||
@keydown.escape.window="showLogPanel = false; showInventoryPanel = false"
|
||||
@ajax:navigate.window.prevent="fetchPage($event.detail.url)" @submit.prevent="if($event.target.method.toLowerCase() === 'get') {
|
||||
@ajax:navigate.window.prevent="fetchPage($event.detail.url)" @submit="if($event.target.method.toLowerCase() === 'get') {
|
||||
$event.preventDefault();
|
||||
const url = new URL($event.target.action, window.location.origin);
|
||||
new FormData($event.target).forEach((value, key) => {
|
||||
if(value.trim()) url.searchParams.set(key, value);
|
||||
@ -1331,4 +1332,4 @@
|
||||
|
||||
@section('scripts')
|
||||
<script src="https://cdn.jsdelivr.net/npm/apexcharts"></script>
|
||||
@endsection
|
||||
@endsection
|
||||
|
||||
Loading…
Reference in New Issue
Block a user