Bug Fixes and thiladhun scraper intergration
This commit is contained in:
@@ -30,12 +30,12 @@
|
||||
<div>
|
||||
<p
|
||||
class="font-semibold text-gray-700 text-sm capitalize MvTyper"
|
||||
v-text="article.source.name"
|
||||
v-text="subarticle.source.name"
|
||||
></p>
|
||||
</div>
|
||||
|
||||
<img
|
||||
:src="article.source.logo"
|
||||
:src="subarticle.source.logo"
|
||||
class="h-10 w-10 rounded-full ml-1 object-cover"
|
||||
/>
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
/>
|
||||
</svg>
|
||||
|
||||
<span class="ml-1" v-text="article.readtime"></span>
|
||||
<span class="ml-1" v-text="subarticle.readtime"></span>
|
||||
</div>
|
||||
|
||||
<p
|
||||
@@ -153,8 +153,8 @@ export default {
|
||||
axios
|
||||
.get("api/today")
|
||||
.then(response => {
|
||||
this.article = response.data.data[0];
|
||||
this.subarticles = response.data.data.slice(1, 5);
|
||||
this.article = response.data[0];
|
||||
this.subarticles = response.data.slice(1, 5);
|
||||
})
|
||||
.catch(error => {
|
||||
console.log(error);
|
||||
|
Reference in New Issue
Block a user