1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-04-30 22:29:01 +08:00

style: lint fix

This commit is contained in:
zclzone 2025-03-13 10:29:17 +08:00
parent 833321d31d
commit e5fd1405da
2 changed files with 3 additions and 3 deletions

View File

@ -11,14 +11,14 @@ import { createStorage } from './storage'
const prefixKey = 'vue-naive-admin_'
export const createLocalStorage = function (option = {}) {
export function createLocalStorage(option = {}) {
return createStorage({
prefixKey: option.prefixKey || '',
storage: localStorage,
})
}
export const createSessionStorage = function (option = {}) {
export function createSessionStorage(option = {}) {
return createStorage({
prefixKey: option.prefixKey || '',
storage: sessionStorage,

View File

@ -98,7 +98,7 @@
<script setup>
import { sleep } from '@/utils'
const handleDelete = function () {
function handleDelete() {
$dialog.confirm({
content: '确认删除?',
confirm() {