mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 07:41:02 +08:00
Change readme links & update news to NOT use the translated Hi as a test
& updated the draggable window to remove the testing state. (I know testing in prod is bad.)
This commit is contained in:
parent
3abfe46464
commit
028b545374
@ -1,6 +1,6 @@
|
||||
# 新聞解析 / News Analyze
|
||||
|
||||
[English Version](README.md) [繁體中文版](README_ZH_TW.md)
|
||||
[English Version](/README.md) [繁體中文版](/README.ZH_TW.md)
|
||||
|
||||
   
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# 新聞解析 / News Analyze
|
||||
|
||||
[English Version](README.md) [繁體中文版](README_ZH_TW.md)
|
||||
[English Version](/README.md) [繁體中文版](/README.ZH_TW.md)
|
||||
|
||||
   
|
||||
|
||||
|
@ -33,11 +33,11 @@ const titleOrg = computed(() => props.title);
|
||||
const titleMaxRegexDetection = /[a-zA-Z0-9]{,10}/;
|
||||
const title = ref("Draggable Window");
|
||||
onMounted(() => {
|
||||
if (!titleMaxRegexDetection.test(titleOrg)) {
|
||||
if (!titleMaxRegexDetection.test(titleOrg.value)) {
|
||||
console.log("Max Detected!!");
|
||||
} else {
|
||||
title.value = titleOrg;
|
||||
}
|
||||
title.value = titleOrg.value;
|
||||
});
|
||||
|
||||
const isDragging = ref(false);
|
||||
|
@ -246,7 +246,7 @@ const testmessage = await translate("嗨", { from: "zh", to: "en" });
|
||||
class="disabled:cursor-not-allowed"
|
||||
:disabled="isPrimary(item.url, true) || switchTabs"
|
||||
>
|
||||
<span>{{ locale === "en" ? item.text : testmessage }}</span>
|
||||
<span>{{ true ? item.text : testmessage }}</span>
|
||||
</button>
|
||||
</template>
|
||||
<button v-if="canNotLoadTabUI"><RefreshCcwIcon /></button>
|
||||
|
Loading…
x
Reference in New Issue
Block a user