type Posts = Post[]
public function handle(Request $request, Closure $next): Response
{
$response = $next($request);
$json = $response->getData();
$json['config'] = ...;
$response->setData($json);
return $response;
}
<script setup lang="ts">
import { definePageMeta } from '#imports'
import { useHeaderStore } from '~/stores/header'
definePageMeta({
middleware: [() => {
const { setAbsolute } = useHeaderStore()
setAbsolute(false)
}]
})
</script>
multipart/form-data; boundary=---------------------------4033991643559332065606749807
watchers: {
webpack: {
aggregateTimeout: 300,
poll: 1000
}
}
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
-webkit-user-select: none;
user-select: none;
<div class="div1">
<div class="div2">
Тут контент
</div>
</div>
.div1 {
width: 300px;
height: 500px;
overflow: hidden;
}
.div2 {
overflow-y: scroll;
max-height: 100%;
width: 100%;
padding-right: 45px;
background: lightpink;
}