|
@@ -154,6 +154,7 @@ const num = ref(2048);
|
|
|
const num1 = ref(0.7);
|
|
|
const num2 = ref(0.95);
|
|
|
let chatlist = ref([]);
|
|
|
+let session_hash = Math.random().toString(36).substring(2);
|
|
|
|
|
|
function saveText() {
|
|
|
load.value = true;
|
|
@@ -174,7 +175,6 @@ function saveText() {
|
|
|
// const idnex = chatlist.value.length === 0 ? 0 : chatlist.value.length - 1;
|
|
|
const t = inputText.value;
|
|
|
inputText.value = '';
|
|
|
- let session_hash = Math.random().toString(36).substring(2);
|
|
|
createSocket(ws => {
|
|
|
const data = ws.data || {};
|
|
|
if (data.msg == 'send_hash')
|