Ver Fonte

项目商机

zhaoxiaohai há 2 anos atrás
pai
commit
d56a09bc76
1 ficheiros alterados com 7 adições e 0 exclusões
  1. 7 0
      packageA/project/index.js

+ 7 - 0
packageA/project/index.js

@@ -74,6 +74,7 @@ Page({
     onLoad(options) {
         this.getList();
     },
+    /* 获取列表 */
     getList(init = false, data) {
         if (init.detail != undefined) init = init.detail;
         let content = this.data.content;
@@ -105,6 +106,12 @@ Page({
             })
         })
     },
+    /* 添加 */
+    toAdd() {
+        wx.navigateTo({
+            url: '/packageA/project/addAndEdit'
+        })
+    },
     /* 处理筛选 */
     handleFilter({
         detail