From 6555f7b959fcfbbfe7d3c16047be620c26f363e5 Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Sat, 23 Aug 2025 17:09:38 +0800
Subject: [PATCH] 1
---
src/views/account/components/Position.vue | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/views/account/components/Position.vue b/src/views/account/components/Position.vue
index 561c4e4..cf31125 100644
--- a/src/views/account/components/Position.vue
+++ b/src/views/account/components/Position.vue
@@ -10,6 +10,7 @@
<el-table
:data="tableData"
style="width: 100%; flex: 1"
+ height="250"
empty-text="No Data"
>
<el-table-column prop="stockSpell" :label="$t('hj313')">
@@ -86,7 +87,8 @@
{{ scope.row.now_price }}
</span>
<div v-if="scope.row.stockGid != $mc">
- ≈ $ {{ (scope.row.now_price * rate(scope.row.stockGid)).toFixed(2) }}
+ ≈ $
+ {{ (scope.row.now_price * rate(scope.row.stockGid)).toFixed(2) }}
</div>
</template>
</el-table-column>
@@ -113,7 +115,9 @@
export default {
data() {
return {
- opt: {}, // 列表参数,必须是opt和myMixins混入配合使用
+ opt: {
+ state: 0,
+ }, // 列表参数,必须是opt和myMixins混入配合使用
};
},
mixins: [mixins],
@@ -129,7 +133,7 @@
},
watch: {},
async created() {
- await this.getExchangeRate(); // 获取汇率
+ // await this.getExchangeRate(); // 获取汇率
this.opt.stockType = this.type;
this.apiInterface = api.getchicang; // 赋值接口
this.init(); // 获取记录列表
--
Gitblit v1.9.3