|
@@ -68,7 +68,7 @@ const configList = computed<ConfigItem[]>(() => {
|
|
|
:class="['config-container', { 'config-container-done': item.done }]"
|
|
|
v-for="(item, index) in configList"
|
|
|
:key="index"
|
|
|
- @click="$router.push({ path: item.path, query: route.query })"
|
|
|
+ @click="item.done || $router.push({ path: item.path, query: route.query })"
|
|
|
>
|
|
|
<img class="config-icon" :src="item.icon" />
|
|
|
<div>
|
|
@@ -128,8 +128,14 @@ const configList = computed<ConfigItem[]>(() => {
|
|
|
}
|
|
|
|
|
|
.config-container-done {
|
|
|
- background: #f5f7fa;
|
|
|
- border-color: #f5f7fa;
|
|
|
+ cursor: not-allowed;
|
|
|
+
|
|
|
+ &,
|
|
|
+ &:hover {
|
|
|
+ background: #f5f7fa;
|
|
|
+ border-color: #f5f7fa;
|
|
|
+ outline: none;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.config-icon {
|