mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-18 10:18:14 +08:00
🐛 修复一些bug
*修复窗口`destory`失败 *修复`miyoushe`域名不识别 *修复子窗口权限报错
This commit is contained in:
@@ -67,14 +67,16 @@
|
||||
<img src="/source/UI/empty.webp" alt="empty" />
|
||||
</div>
|
||||
</div>
|
||||
<TuaDetailOverlay
|
||||
v-model="showOverlay"
|
||||
:avatar="dataVal"
|
||||
:avatars="selectedList"
|
||||
v-model:mode="showMode"
|
||||
@to-next="handleSwitch"
|
||||
@to-avatar="selectRole"
|
||||
/>
|
||||
<suspense>
|
||||
<TuaDetailOverlay
|
||||
v-model="showOverlay"
|
||||
:avatar="dataVal"
|
||||
:avatars="selectedList"
|
||||
v-model:mode="showMode"
|
||||
@to-next="handleSwitch"
|
||||
@to-avatar="selectRole"
|
||||
/>
|
||||
</suspense>
|
||||
<TwoSelectC v-model="showSelect" @select-c="handleSelect" v-model:reset="resetSelect" />
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
@@ -310,7 +312,9 @@ function getUpdateTime(): string {
|
||||
function selectRole(role: TGApp.Sqlite.Character.UserRole): void {
|
||||
dataVal.value = role;
|
||||
selectIndex.value = roleList.value.indexOf(role);
|
||||
if (!showOverlay.value) showOverlay.value = true;
|
||||
if (!showOverlay.value) {
|
||||
showOverlay.value = true;
|
||||
}
|
||||
}
|
||||
|
||||
function handleSelect(val: SelectedCValue) {
|
||||
|
||||
Reference in New Issue
Block a user