Ver Fonte

1、修改test查询方法

zhoux há 2 anos atrás
pai
commit
69b741ddf1
1 ficheiros alterados com 1 adições e 2 exclusões
  1. 1 2
      package-basic-data/pages/test/test.js

+ 1 - 2
package-basic-data/pages/test/test.js

@@ -99,8 +99,7 @@ Page({
    * @author : 周兴
    * @author : 周兴
    */
    */
   getData(params) {
   getData(params) {
-    console.log('fff', params,this.data.service);
-    return this.excute(app.globalData['userService'],app.globalData['userService'].selectByCond,params);
+    return this.excute(this.data.service,this.data.service.selectByCond,params);
   },
   },
 
 
   /**
   /**