<script setup>
import { getCurrentInstance, onMounted, ref, reactive } from 'vue';
import { Swiper, SwiperSlide } from 'swiper/vue';
import { Autoplay } from 'swiper';
import 'swiper/css';
const { proxy } = getCurrentInstance();
const data = ref({
list2: null,
modules: [Autoplay],
});
onMounted(() => {
getData();
});
function getData() {
let jsonUrl = './data/data_2022_03.json?' + new Date().getTime();
proxy.Axios.get(jsonUrl).then((res) => {
data.value.list2 = res.data.leftBottomNJMK;
});
}
</script>