ソースを参照

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

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