mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Remove legacy component & Update validating system using localstorage.
This commit is contained in:
parent
b716a0ed5c
commit
c5c614c75d
7 changed files with 141 additions and 86 deletions
|
@ -23,7 +23,6 @@ const emit = defineEmits([
|
|||
"openNewsSourcePage",
|
||||
"windowopener",
|
||||
]);
|
||||
const staticid = computed(() => props.staticid);
|
||||
|
||||
const openNewWindow = (itemId: string) => {
|
||||
emit("windowopener", "aboutNewsOrg");
|
||||
|
@ -285,10 +284,7 @@ const openPublisher = (text: string) => {
|
|||
<div>
|
||||
<div>
|
||||
<h3 class="text-lg">類似文章</h3>
|
||||
<div
|
||||
|
||||
class="space-y-2"
|
||||
>
|
||||
<div class="space-y-2">
|
||||
<div
|
||||
v-for="similar in useArgFindRel(item.title, item.publisher)"
|
||||
:key="similar.item.id"
|
||||
|
@ -302,8 +298,12 @@ const openPublisher = (text: string) => {
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="checkIfEmpty(item.title)" class="text-gray-500 text-sm">找不到類似文章</div>
|
||||
|
||||
<div
|
||||
v-if="checkIfEmpty(item.title)"
|
||||
class="text-gray-500 text-sm"
|
||||
>
|
||||
找不到類似文章
|
||||
</div>
|
||||
</div>
|
||||
<!--<div v-for="item in findRel(item.title)">
|
||||
{{ item }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue