|
@@ -29,6 +29,9 @@ import {onMounted,ref,reactive,watch} from 'vue'
|
|
import {CulturelistByOpen} from '@/http/api/common.js'
|
|
import {CulturelistByOpen} from '@/http/api/common.js'
|
|
import {useRouter} from 'vue-router'
|
|
import {useRouter} from 'vue-router'
|
|
const router=useRouter()
|
|
const router=useRouter()
|
|
|
|
+//使用pinia缓存数据
|
|
|
|
+import { useCounterStore } from '@/stores/counter'
|
|
|
|
+const counter = useCounterStore()
|
|
const list = ref([
|
|
const list = ref([
|
|
{
|
|
{
|
|
url:'/public/img/index/icon_shengwzp@3x.png',
|
|
url:'/public/img/index/icon_shengwzp@3x.png',
|