random sub Id

optimize utils
trojan short id fix
index page better view
This commit is contained in:
MHSanaei
2023-06-07 12:45:58 +03:30
parent 70f250dfe1
commit 594d682e20
15 changed files with 31 additions and 46 deletions
+2 -2
View File
@@ -18,7 +18,7 @@
</template>
</a-tooltip>
</span>
<a-icon @click="client.email = RandomUtil.randomText()" type="sync"> </a-icon>
<a-icon @click="client.email = RandomUtil.randomText(8)" type="sync"> </a-icon>
<a-input v-model.trim="client.email" style="width: 200px;"></a-input>
</a-form-item>
<a-form-item label="Password" v-if="inbound.protocol === Protocols.TROJAN || inbound.protocol === Protocols.SHADOWSOCKS">
@@ -44,7 +44,7 @@
<a-icon type="question-circle" theme="filled"></a-icon>
</a-tooltip>
</span>
<a-icon @click="client.subId = RandomUtil.randomText()" type="sync"> </a-icon>
<a-icon @click="client.subId = RandomUtil.randomText(16)" type="sync"> </a-icon>
<a-input v-model.trim="client.subId" style="width: 150px;"></a-input>
</a-form-item>
<a-form-item v-if="client.email && app.tgBotEnable" >