|
@@ -71,8 +71,6 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
-import { userVideoList } from "@/api/video";
|
|
|
|
|
-
|
|
|
|
|
export default {
|
|
export default {
|
|
|
name: 'PostAnalysis',
|
|
name: 'PostAnalysis',
|
|
|
data() {
|
|
data() {
|
|
@@ -88,20 +86,6 @@ export default {
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
|
document.title = "数据分析"
|
|
document.title = "数据分析"
|
|
|
-
|
|
|
|
|
- userVideoList(1, this.userId, 1).then(res => {
|
|
|
|
|
- if (res.code === 0) {
|
|
|
|
|
- const resData = res.data.list
|
|
|
|
|
- if (resData.length !== 0) {
|
|
|
|
|
- this.showEmpty = false
|
|
|
|
|
- for (const item of resData) {
|
|
|
|
|
- this.dataList.push(item)
|
|
|
|
|
- }
|
|
|
|
|
- } else {
|
|
|
|
|
- this.showEmpty = true
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
},
|
|
},
|
|
|
watch: {
|
|
watch: {
|
|
|
$route(){
|
|
$route(){
|