random password button for SS & more

crypto.getRandomValues for uuid
change name randomText to randomLowerAndNum
This commit is contained in:
MHSanaei
2023-06-09 16:04:57 +03:30
parent 81aa3ed10e
commit 7fc3d37851
8 changed files with 29 additions and 26 deletions
+1 -1
View File
@@ -187,7 +187,7 @@
<a-input v-model.trim="inbound.stream.reality.serverNames" style="width: 300px"></a-input>
</a-form-item>
<a-form-item label="ShortIds">
<a-icon @click="inbound.stream.reality.shortIds = RandomUtil.randomShortId(8)" type="sync"> </a-icon>
<a-icon @click="inbound.stream.reality.shortIds = RandomUtil.randomShortId()" type="sync"> </a-icon>
<a-input v-model.trim="inbound.stream.reality.shortIds" style="width: 150px;"></a-input>
</a-form-item>
<br>