item未定义是什么问题啊?
<template>
<div>
<ul>
<li v-for="(item,index) in pageLists" :key="index"></li>
<li>{{item.title}}-{{item.content}}</li>
</ul>
</div>
</template>
<script>
import store from '@/store'
export default {
name:"List",
store,
computed:{
pageLists(){
return store.state.lists
}
}
}
</script>
<style>
</style>