mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-16 03:54:31 +08:00
refactor: 脚本编辑部分内容
This commit is contained in:
1 parent
43937c9a54
commit
9adcb5543f
14 files changed
+127
-145
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { has } from '../utils';
|
||||
import { getStatusLabel, has } from '../utils';
|
||||
|
||||
/**
|
||||
* 获取所有装备
|
||||
@@ -28,9 +28,7 @@ export function getAddStatus(equip: Equip) {
|
||||
|
||||
return (
|
||||
<span style="display: flex">
|
||||
<span style="flex-basis: 50%">
|
||||
{core.getStatusLabel(v)}
|
||||
</span>
|
||||
<span style="flex-basis: 50%">{getStatusLabel(v)}</span>
|
||||
|
||||
<span
|
||||
style={{
|
||||
@@ -84,7 +82,7 @@ export function getNowStatus(nowEquip?: Equip, onCol: boolean = false) {
|
||||
return (
|
||||
<div class="hero-status-one">
|
||||
<span class="hero-status-label">
|
||||
{core.getStatusLabel(v)}
|
||||
{getStatusLabel(v)}
|
||||
</span>
|
||||
<div class="hero-status-value">
|
||||
<span style="margin-right: 20%">{status}</span>
|
||||
|
||||
Reference in new issue
Block a user