Forráskód Böngészése

1、修改test查询方法

zhoux 2 éve
szülő
commit
69b741ddf1
1 módosított fájl, 1 hozzáadás és 2 törlés
  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 : 周兴
    */
   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);
   },
 
   /**