diff --git a/eslint.config.js b/eslint.config.js index 9a69220..6f06c52 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -8,13 +8,10 @@ export default vuetify({ rules: { 'vue/no-required-prop-with-default': 'off', 'vue/attributes-order': 'off', - 'vue/no-template-shadow': 'off', '@typescript-eslint/unified-signatures': 'off', '@typescript-eslint/member-ordering': 'off', 'unicorn/prefer-query-selector': 'off', 'unicorn/no-array-sort':'off', - "vue/no-mutating-props" : "off", 'unicorn/prefer-logical-operator-over-ternary': 'off', - 'unicorn/prefer-structured-clone': 'off', } }) diff --git a/src/App.vue b/src/App.vue index 2de2cbb..3dda6b5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -9,11 +9,11 @@ - {{ favoriteActionIcon }} + {{ favoriteActionLabel }} - mdi-home + 返回首頁 @@ -28,7 +28,7 @@ v-model="activeTab" bg-color="background" color="primary" density="compact" show - mdi-close + @@ -58,7 +58,7 @@ class="pl-2" color="grey" density="compact" :disabled="tabs.length <= 1" icon si {{ item.title }} @@ -94,7 +94,7 @@ class="pl-2" color="grey" density="compact" :disabled="tabs.length <= 1" icon si @@ -122,6 +122,7 @@ v-model="snackbar.visible" :color="snackbar.color" :location="snackbar.location" diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index c6bb606..a3fcfa5 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -10,6 +10,7 @@ diff --git a/src/views/errors/Maintenance.vue b/src/views/errors/Maintenance.vue index 709bae4..b3653c7 100644 --- a/src/views/errors/Maintenance.vue +++ b/src/views/errors/Maintenance.vue @@ -3,13 +3,14 @@ code="MAINTENANCE" color="info" description="目前系統正在維護,請稍後再試。" - icon="mdi-tools" + :icon="mdiTools" :show-login="false" title="系統維護中" /> diff --git a/src/views/errors/NetworkError.vue b/src/views/errors/NetworkError.vue index b5e38b9..05020d1 100644 --- a/src/views/errors/NetworkError.vue +++ b/src/views/errors/NetworkError.vue @@ -3,12 +3,13 @@ code="NETWORK" color="warning" description="無法連線到伺服器,請檢查網路或稍後再試。" - icon="mdi-wifi-off" + :icon="mdiWifiOff" title="網路連線異常" /> diff --git a/src/views/errors/NotFound.vue b/src/views/errors/NotFound.vue index ad75b5b..da8740f 100644 --- a/src/views/errors/NotFound.vue +++ b/src/views/errors/NotFound.vue @@ -3,12 +3,13 @@ :code="404" color="info" description="你輸入的網址不存在,或頁面已被移除。" - icon="mdi-map-marker-question-outline" + :icon="mdiMapMarkerQuestionOutline" :show-login="false" title="找不到頁面" /> diff --git a/src/views/errors/ServerError.vue b/src/views/errors/ServerError.vue index df01e31..4ef8dda 100644 --- a/src/views/errors/ServerError.vue +++ b/src/views/errors/ServerError.vue @@ -3,12 +3,13 @@ :code="500" color="error" description="伺服器發生非預期錯誤,請稍後再試。" - icon="mdi-server" + :icon="mdiServer" title="系統發生錯誤" /> diff --git a/src/views/errors/ServiceUnavailable.vue b/src/views/errors/ServiceUnavailable.vue index 5e5cb31..4e5572f 100644 --- a/src/views/errors/ServiceUnavailable.vue +++ b/src/views/errors/ServiceUnavailable.vue @@ -3,12 +3,13 @@ :code="503" color="warning" description="服務目前無法使用,請稍後再試。" - icon="mdi-server-off" + :icon="mdiServerOff" title="服務暫時無法使用" /> diff --git a/src/views/maint/EditableGridMnt.vue b/src/views/maint/EditableGridMnt.vue index 086e672..22d678d 100644 --- a/src/views/maint/EditableGridMnt.vue +++ b/src/views/maint/EditableGridMnt.vue @@ -8,7 +8,7 @@ 筆數 {{ filteredStudents.length }} - 條件搜尋 + 條件搜尋 @@ -40,16 +40,16 @@ v-model="search.department" :class="{ 'select-hide-arrow': !isBulkEditEnabled }" - + 批次刪除 儲存變更 - + 取消變更 @@ -142,6 +142,7 @@ color="error" :disabled="!isBulkEditEnabled" size="small" variant="text"