zhoux 2 лет назад
Родитель
Сommit
ddf2ef1996

+ 1 - 0
app.json

@@ -208,6 +208,7 @@
         "dk-customer-detail": "components/dkbase/dk-customer-detail/dk-customer-detail",
         "dk-muti-dropdown-item": "components/dkbusiness/dk-muti-dropdown-item/dk-muti-dropdown-item",
         "dk-single-dropdown-item": "components/dkbusiness/dk-single-dropdown-item/dk-single-dropdown-item",
+        "dk-dropdown-menu": "components/dkbusiness/dk-dropdown-menu/dk-dropdown-menu",
         "dk-label-multiple-select": "components/dkbusiness/dk-label-multiple-select/dk-label-multiple-select",
         "loading": "components/dkbase/loading/loading"
     },

+ 0 - 4
components/dkbusiness/dk-dropdown-menu/dk-dropdown-menu.js

@@ -114,16 +114,12 @@ Component({
       searchForm[code + 'End'] = data[1]
       let menuList = this.data.menuList
       let dateDefault = e.detail.dateDefault
-      console.log('e4',e,dateDefault,this.data.index,menuList);
       if(this.data.index){
         if (menuList.length > this.data.index) {
           menuList[this.data.index].defaultValue = dateDefault.value
           menuList[this.data.index].title = dateDefault.text
         }
-      }else{
-        // 如果index没有值,说明是初始加载
       }
-
       this.setData({
         searchForm: searchForm,
         menuList: menuList

+ 3 - 3
project.private.config.json

@@ -1,8 +1,8 @@
 {
     "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
-    "projectname": "iboss_wx_app",
+    "projectname": "dk_wx_base",
     "setting": {
-        "compileHotReLoad": true
+        "compileHotReLoad": false
     },
-    "libVersion": "3.3.2"
+    "libVersion": "2.23.4"
 }