fix(frontend): CI vue-tsc -b 三处类型错(live List重复import/paper List initial_capital可空/组合净值series宽类型);本地改用 -b 模式校验对齐CI [nas]
CI/CD / test (push) Successful in 11s
CI/CD / nas-deploy (push) Failing after 12s
CI/CD / nas-verify (push) Has been skipped

This commit is contained in:
2026-08-13 18:33:42 +08:00
parent d030cfc91f
commit e2d118fa38
3 changed files with 2 additions and 5 deletions
@@ -99,7 +99,7 @@ function renderEquity(): void {
const base = equityCurve.value[0]?.equity || 1
const values = equityCurve.value.map((p) => p.equity / base)
const hasBench = benchmarkCurve.value.length === equityCurve.value.length
const series: EChartsCoreOption['series'] = [
const series: Array<Record<string, unknown>> = [
{
type: 'line', name: '策略净值', smooth: true, showSymbol: false,
lineStyle: { color: '#c23531', width: 1.6 },
-3
View File
@@ -1,7 +1,4 @@
<script setup lang="ts">
import { ref, computed, onMounted, onUnmounted } from 'vue'
import { useRouter } from 'vue-router'
import { ElMessage, ElMessageBox } from 'element-plus'
import { ref, reactive, computed, onMounted, onUnmounted } from 'vue'
import { useRouter } from 'vue-router'
import { ElMessage, ElMessageBox } from 'element-plus'
+1 -1
View File
@@ -127,7 +127,7 @@ function openEdit(a: PaperAccount): void {
} catch {
editForm.symbols = syms
}
editForm.initial_capital = a.initial_capital
editForm.initial_capital = a.initial_capital ?? 0
editVisible.value = true
}
async function saveEdit(): Promise<void> {