Commit 6ee6c4a8 by 孙美琪

修改轮播图排序

parent 165f0410
...@@ -186,7 +186,9 @@ const iframeShow = ref(false) ...@@ -186,7 +186,9 @@ const iframeShow = ref(false)
function getBanner() { function getBanner() {
banner().then(res => { banner().then(res => {
bannerImgList.value = res.data bannerImgList.value = res.data.sort(function(a , b){
return a.orderNum - b.orderNum
})
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment