Can I get the data attribute of a Vue instance at one time in Vue.js?

I want to save the data in data to the browser"s localStorage so that the page refresh can read and restore the configuration.

clipboard.png

but now I can only manipulate attributes one by one, such as data.items / data.index. I wonder if there is any way to get the whole data at once and consult TAT

.
Mar.04,2021

$data
Menu