BUG 27437

This commit is contained in:
aixianling
2022-02-16 17:36:14 +08:00
parent 5ba54b48a8
commit 673ed8dcb3

View File

@@ -1,5 +1,5 @@
<template>
<swiper class="AiNoticeBar" autoplay vertical circular :interval="2000">
<swiper class="AiNoticeBar" :autoplay="autoplay" vertical circular :interval="2000">
<swiper-item v-for="(item, index) in ops" :key="index" :display-multiple-items="rows" class="noticeItem">
<slot :label="item"/>
</swiper-item>
@@ -13,7 +13,8 @@ export default {
props: {
list: {default: () => []},
rows: {default: 1},
nodeKey: {default: ""}
nodeKey: {default: ""},
autoplay: {default: true}
},
computed: {
ops() {