optmization

This commit is contained in:
jiaming 2018-12-26 18:10:35 +08:00
parent c517b719c9
commit 6997051ced
2 changed files with 2 additions and 4 deletions

Binary file not shown.

View File

@ -29,9 +29,7 @@
<div class="index" :style="`background-color:${titleTrueBG};`">{{ info }}</div>
</template>
<template v-else>
{{ info }}
</template>
<span v-else v-html="info" />
</div>
</div>
@ -44,7 +42,7 @@
<script>
export default {
name: 'scroll-board',
props: ['data', 'index', 'rowNum', 'titleBG', 'oddBG', 'evenBG', 'columnWidth', 'textAlign', 'carousel'],
props: ['data', 'index', 'html', 'rowNum', 'titleBG', 'oddBG', 'evenBG', 'columnWidth', 'textAlign', 'carousel'],
data () {
return {
ref: `scroll-board-${(new Date()).getTime()}`,