lrf402788946 3 år sedan
förälder
incheckning
6e21d11156
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      src/views/kline/parts/sub.vue

+ 2 - 1
src/views/kline/parts/sub.vue

@@ -2,7 +2,7 @@
   <div id="subs">
     <el-row>
       <!-- <el-col :span="24" v-if="title" class="title">{{ title }}</el-col> -->
-      <el-col :span="24" class="teamTitle">{{ `${getProp({ key: 'symbol' })}-` || '' }}威廉希尔赔率</el-col>
+      <el-col :span="24" class="teamTitle">{{ `${getProp({ key: 'symbol' })}-` || '' }}{{ subTitle }}</el-col>
     </el-row>
     <el-row v-for="(l, index) in fields" :key="`tableRow-${index}`" type="flex">
       <el-col :span="5" v-for="(f, fi) in l" :key="`tableCol-${index}-${fi}`" :style="{ color: getColor(f) }" class="tableCell">
@@ -20,6 +20,7 @@ export default {
     title: { type: String },
     team: { type: Object, default: () => {} },
     fields: { type: Array, default: () => [] },
+    subTitle: { type: String, default: '威廉希尔赔率' },
   },
   components: {},
   data: function () {