新增大航海设置

This commit is contained in:
Fang_Zhijian 2024-05-18 17:42:52 +08:00
parent 3f1392bf02
commit 68643a6cb8

View File

@ -57,7 +57,7 @@ function createSocket(authBody: string, wssLinks: string[]) {
settings = window.localStorage.getItem("settings") ? ref(JSON.parse(window.localStorage.getItem("settings") || '{}')) : null
if (res.cmd == "LIVE_OPEN_PLATFORM_SEND_GIFT" && res.data.guard_level > settings.value.guardLevel) {
if (res.cmd == "LIVE_OPEN_PLATFORM_SEND_GIFT" && res.data.guard_level >= settings.value.guardLevel) {
if (settings && res.data.gift_id.toString() === settings.value.strengthData[0]) {
// 牛哇牛哇加强度1
try {