支持“一键执行”

This commit is contained in:
BTMuli
2025-05-23 15:33:22 +08:00
parent 58b95dc5e9
commit eb7e0df4fb
3 changed files with 47 additions and 8 deletions

View File

@@ -61,6 +61,8 @@ const loadMission = ref<boolean>(false);
const parseMissions = shallowRef<Array<ParseMission>>([]);
const missionList = shallowRef<Array<TGApp.BBS.Mission.MissionItem>>([]);
defineExpose({ tryAuto });
watch(
() => uid.value,
() => {

View File

@@ -81,6 +81,8 @@ const loadSign = ref<boolean>(false);
const signAccounts = ref<Array<SignAccount>>([]);
const gameAccounts = shallowRef<Array<TGApp.Sqlite.Account.Game>>([]);
defineExpose({ tryAuto });
watch(
() => uid.value,
async () => await loadData(),