Przeglądaj źródła

标签改为多选筛选

xiaohaizhao 2 lat temu
rodzic
commit
43300c5e67
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      packageA/contacts/list.js

+ 2 - 1
packageA/contacts/list.js

@@ -8,7 +8,7 @@ Page({
         "where": {
             "condition": "",
             "groupname": "",
-            "tag": ""
+            "tag": []
         }
     },
     onLoad(options) {
@@ -45,6 +45,7 @@ Page({
                         filtratelist: [{
                             label: "标签",
                             index: null,
+                            type: "checkbox",
                             showName: "tag", //显示字段
                             valueKey: "tag", //返回Key
                             selectKey: "tag", //传参 代表选着字段 不传参返回整个选择对象