feat(设置页面): 同步标签页状态到URL并更新图标
- 将标签页状态与URL查询参数同步,支持直接通过URL访问特定标签页 - 替换域设置组件中的全部移动按钮图标,使用更直观的双箭头图标
This commit is contained in:
@@ -40,10 +40,10 @@
|
||||
<!-- Actions -->
|
||||
<div class="transfer-actions">
|
||||
<button class="action-btn" @click="moveAllToVisible" title="全部左移">
|
||||
<PhChecks :size="20" />
|
||||
<PhCaretDoubleLeft />
|
||||
</button>
|
||||
<button class="action-btn" @click="moveAllToHidden" title="全部右移">
|
||||
<PhTrash :size="20" />
|
||||
<PhCaretDoubleRight />
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -91,7 +91,6 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted, computed } from 'vue';
|
||||
import { fetchDomainList, fetchFeatureSettings, saveFeatureSettings } from '../../../api/admin';
|
||||
import { PhArrowRight, PhArrowLeft, PhChecks, PhTrash } from '@phosphor-icons/vue';
|
||||
|
||||
const loading = ref(false);
|
||||
const allDomains = ref<string[]>([]);
|
||||
|
||||
Reference in New Issue
Block a user