chore: add success log for numeric channel join

This commit is contained in:
Dr1mH4X committed 2026-06-23 02:45:09 +08:00
1 parent 05f090d83a
commit 62b5b09857
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -275,6 +275,7 @@ export class TS3Client extends EventEmitter {
if (isNumeric) { if (isNumeric) {
try { try {
await clientMove(this.client, this.clientId, BigInt(channelName), password); await clientMove(this.client, this.clientId, BigInt(channelName), password);
this.logger.info({ channelName }, "Joined channel");
} catch (err) { } catch (err) {
this.logger.error({ err, channelName }, "Failed to join channel"); this.logger.error({ err, channelName }, "Failed to join channel");
} }
+1 -1
View File
@@ -51,7 +51,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label>默认频道ID(可选)</label> <label>默认频道ID(可选)</label>
<input v-model="channelId" :disabled="!!defaultChannel" placeholder="如 1234" class="input" :class="{ disabled: !!defaultChannel }" /> <input v-model="channelId" :disabled="!!defaultChannel" placeholder="如 12" class="input" :class="{ disabled: !!defaultChannel }" />
</div> </div>
<div class="btn-row"> <div class="btn-row">
<button class="btn-secondary" @click="currentStep = 0">上一步</button> <button class="btn-secondary" @click="currentStep = 0">上一步</button>