瀏覽代碼

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

xiaohaizhao 7 月之前
父節點
當前提交
5f6013d4bc
共有 1 個文件被更改,包括 5 次插入0 次删除
  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