Skip to content

Commit

Permalink
Merge pull request #85 from jason5ng32/dev
Browse files Browse the repository at this point in the history
Bug Fixed
  • Loading branch information
jason5ng32 authored Feb 6, 2024
2 parents 02ba4f6 + 9373418 commit ca93d65
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ export default {
{
keys: "R",
action: () => {
this.refreshEverything,
this.$store.commit('setRefreshEveryThing', true);
this.$trackEvent('ShortCut', 'ShortCut', 'RefreshEverything');
},
Expand Down
4 changes: 2 additions & 2 deletions src/components/help.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="modal-dialog modal-dialog-centered modal-dialog-scrollable">
<div class="modal-content" :class="{ 'dark-mode dark-mode-border': isDarkMode }">
<div class="modal-header" :class="{ 'dark-mode-border': isDarkMode }">
<h5 class="modal-title" id="helpModal">{{ $t('helpModal.Title') }}</h5>
<h5 class="modal-title" id="helpModalTitle">{{ $t('helpModal.Title') }}</h5>
<button type="button" class="btn-close" :class="{ 'dark-mode-close-button': isDarkMode }"
data-bs-dismiss="modal" aria-label="Close"></button>

Expand Down Expand Up @@ -35,7 +35,7 @@ import { Modal } from 'bootstrap';
export default {
name: 'HelpModal',
// 引入 Store
setup() {
const store = useStore();
Expand Down
6 changes: 3 additions & 3 deletions src/components/ipcheck.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@

<!-- IP 数据源选择 -->
<div class="dropdown">
<span class="ms-3" type="button" id="SelectIPGEOSource" data-bs-toggle="dropdown" aria-expanded="false">
<span class="ms-3" role="button" id="SelectIPGEOSource" data-bs-toggle="dropdown" aria-expanded="false"
:aria-label="$t('ipInfos.SelectSource')">
<i class="bi bi-grid-fill"></i>
</span>
<ul class="dropdown-menu" aria-labelledby="SelectIPGEOSource" :data-bs-theme="isDarkMode ? 'dark' : ''">
Expand All @@ -39,12 +40,11 @@
<li v-for="source in sources" :key="source.id">
<a class="dropdown-item" :class="{ active: ipGeoSource === source.id, disabled: !source.enabled }"
@click="source.enabled ? selectIPGeoSource(source.id) : null" :disabled="!source.enabled"
:aria-disabled="!source.enabled">
:aria-disabled="!source.enabled" :aria-label="source.text">
{{ source.text }}
<i class="bi bi-check2-circle" v-if="ipGeoSource === source.id"></i>
</a>
</li>

</ul>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/components/queryip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content" :class="{ 'dark-mode dark-mode-border': isDarkMode }">
<div class="modal-header" :class="{ 'dark-mode-border': isDarkMode }">
<h5 class="modal-title" id="IPCheck">{{ $t('ipcheck.Title') }}</h5>
<h5 class="modal-title" id="IPCheckTitle">{{ $t('ipcheck.Title') }}</h5>
<button type="button" class="btn-close" :class="{ 'dark-mode-close-button': isDarkMode }"
data-bs-dismiss="modal" aria-label="Close"></button>

Expand Down

0 comments on commit ca93d65

Please sign in to comment.