芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/www/vendor/livewire/livewire/js/util/getCsrfToken.js
export function getCsrfToken() { const tokenTag = document.head.querySelector('meta[name="csrf-token"]') let token if (!tokenTag) { if (!window.livewire_token) { throw new Error('Whoops, looks like you haven\'t added a "csrf-token" meta tag') } token = window.livewire_token } else { token = tokenTag.content } return token }