Ver código fonte

选择联系人列表范围排除已选择的联系人

xiaohaizhao 7 meses atrás
pai
commit
5f6013d4bc
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5 0
      packageA/setclient/contacts.js

+ 5 - 0
packageA/setclient/contacts.js

@@ -18,6 +18,11 @@ Page({
     },
     getList(init = false) {
         _Http.init(this.data.content, init).then(content => {
+            try {
+                content.phonenumber = getCurrentPages()[getCurrentPages().length - 2].selectComponent("#Form").query().phonenumber || '';
+            } catch (error) {
+
+            }
             _Http.basic({
                 "id": 20240531152004,
                 content