修改bug
This commit is contained in:
@@ -312,8 +312,7 @@ const getNoticeData = () => {
|
||||
}
|
||||
// 获取bannar图
|
||||
function getbannarData() {
|
||||
getBannarList()
|
||||
.then(res => {
|
||||
getBannarList().then(res => {
|
||||
if (res.code === 200 && res.data) {
|
||||
// 只有数据真正变化时才更新,避免 swiper 重新渲染导致闪动
|
||||
const newData = res.data
|
||||
|
||||
Reference in New Issue
Block a user