dev
This commit is contained in:
@@ -354,7 +354,10 @@ const buildUniversalGrid = (source: IEquipment[]) => {
|
||||
// Fallback to legacy stone layout when category keywords are not present.
|
||||
if (!sections.length && source.length > 0) {
|
||||
const legacySource = source.filter(
|
||||
(item) => item.suit.length > 1 || item.categorize.includes("套装") || item.categorize.includes("通宝"),
|
||||
(item) =>
|
||||
item.suit.length > 1 ||
|
||||
item.categorize.includes("套装") ||
|
||||
item.categorize.includes("通宝"),
|
||||
);
|
||||
const legacyGrid = buildSuitGrid(legacySource);
|
||||
if (legacyGrid.some(Boolean)) {
|
||||
@@ -824,7 +827,10 @@ const rarityChoices = [
|
||||
</Tabs>
|
||||
|
||||
<template v-if="equipTab === 'suit'">
|
||||
<div class="flex max-w-full flex-nowrap gap-1.5 overflow-x-auto pb-1" :style="iconWrapStyle">
|
||||
<div
|
||||
class="flex max-w-full flex-nowrap gap-1.5 overflow-x-auto pb-1"
|
||||
:style="iconWrapStyle"
|
||||
>
|
||||
<button
|
||||
v-for="item in suitOptions"
|
||||
:key="item.id"
|
||||
@@ -930,7 +936,10 @@ const rarityChoices = [
|
||||
</Tabs>
|
||||
|
||||
<template v-if="oathTab === 'suit'">
|
||||
<div class="flex max-w-full flex-nowrap gap-1.5 overflow-x-auto pb-1" :style="iconWrapStyle">
|
||||
<div
|
||||
class="flex max-w-full flex-nowrap gap-1.5 overflow-x-auto pb-1"
|
||||
:style="iconWrapStyle"
|
||||
>
|
||||
<button
|
||||
v-for="item in suitOptions"
|
||||
:key="`oath-${item.id}`"
|
||||
|
||||
Reference in New Issue
Block a user