mirror of
https://github.com/EasyTier/EasytierGame.git
synced 2025-05-19 10:27:56 +00:00
#Improve 修复更新时可以点击联机按钮 新增easytier发布页 新增wg协议选项 优化描述,删除不必要的代码和文件
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { createPersistedState } from "pinia-plugin-persistedstate";
|
||||
import { defineNuxtPlugin } from "nuxt/app";
|
||||
export default defineNuxtPlugin((nuxtApp: any) => {
|
||||
nuxtApp.$pinia.use(
|
||||
createPersistedState({
|
||||
storage: localStorage,
|
||||
key: id => `__glj_persisted_${id}`
|
||||
})
|
||||
);
|
||||
});
|
||||
Reference in New Issue
Block a user