Explorar el Código

使用新的字段uid

Bhikkhu-Kosalla hace 4 años
padre
commit
b22d6993ec
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      public/app/channal/channal.js
  2. 1 1
      public/app/group/group.js

+ 1 - 1
public/app/channal/channal.js

@@ -23,7 +23,7 @@ function channal_list() {
 
 function channal_getById(id) {
 	for (const iterator of _my_channal) {
-		if (iterator.id == id) {
+		if (iterator.uid == id) {
 			return iterator;
 		}
 	}

+ 1 - 1
public/app/group/group.js

@@ -31,7 +31,7 @@ function channal_list() {
 
 function channal_getById(id) {
 	for (const iterator of _my_channal) {
-		if (iterator.id == id) {
+		if (iterator.uid == id) {
 			return iterator;
 		}
 	}