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> <div class="index" :style="`background-color:${titleTrueBG};`">{{ info }}</div>
</template> </template>
<template v-else> <span v-else v-html="info" />
{{ info }}
</template>
</div> </div>
</div> </div>
@ -44,7 +42,7 @@
<script> <script>
export default { export default {
name: 'scroll-board', 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 () { data () {
return { return {
ref: `scroll-board-${(new Date()).getTime()}`, ref: `scroll-board-${(new Date()).getTime()}`,