diff --git a/src/App.vue b/src/App.vue index 4a59546..5ff28ef 100644 --- a/src/App.vue +++ b/src/App.vue @@ -37,7 +37,8 @@ if (window.localStorage.getItem("settings")) { // 如果没有,使用默认值并且保存 settings.value = { waveData: waveData, - strengthData: strengthData + strengthData: strengthData, + guardLevel: 0 }; window.localStorage.setItem('settings', JSON.stringify(settings.value)); } @@ -268,7 +269,15 @@ const addRelationAndSave = () => {
+ 大航海等级达到 + + 才可互动 +
+礼物规则 ?
@@ -298,8 +307,6 @@ const addRelationAndSave = () => { B等级达到 才可互动
赠送
diff --git a/src/socket/index.ts b/src/socket/index.ts
index 1d27bcc..4ff0f17 100644
--- a/src/socket/index.ts
+++ b/src/socket/index.ts
@@ -10,11 +10,13 @@ const notyf = new Notyf({ duration: 4000 })
interface SettingsType {
strengthData: typeof strengthData;
waveData: typeof waveData;
+ guardLevel: number;
}
let settings: Ref