update
This commit is contained in:
@@ -16,6 +16,7 @@ import OpenTypeFun from "../../components/OpenTypeFun.js";
|
||||
import XNoticeBar from "../../components/XNoticeBar.vue";
|
||||
|
||||
const showAddCustomer = ref(false);
|
||||
const textContent = ref(null);
|
||||
const advList = reactive([]);
|
||||
const nav = [
|
||||
{
|
||||
@@ -94,13 +95,19 @@ onMounted(() => {
|
||||
advList.length = 0;
|
||||
advList.push(...data);
|
||||
});
|
||||
Api.system.getBarrageList().then(({data}) => {
|
||||
textContent.value = '';
|
||||
data.forEach((v, index) => {
|
||||
textContent.value += `${index + 1}.${v} `;
|
||||
});
|
||||
});
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<!--首页-->
|
||||
<XNav :show-back="false"></XNav>
|
||||
<x-notice-bar></x-notice-bar>
|
||||
<x-notice-bar :text="textContent" v-if="textContent"></x-notice-bar>
|
||||
|
||||
<add-customer-service-modal v-model:show="showAddCustomer"></add-customer-service-modal>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user