Commit 595d1f4e authored by jiangjiantao's avatar jiangjiantao

bugfixed

parent 2e757813
......@@ -5,7 +5,7 @@ import {API_USE_COUPON} from '../../const/apiurl'
import { ACTION_GOODS } from '../../const/actioncmd'
import { ACTION_REQUEST_GOOD_INFO } from '../../const/actioncmd'
import { ACTION_GO_BALANCE } from '../../const/actioncmd'
import { ACTION_GO_HOME } from '../../const/actioncmd'
Page({
data: {
......@@ -62,6 +62,11 @@ Page({
}else if(res.action == ACTION_REQUEST_GOOD_INFO){
//去结算页面
context.getGoodInfoByBarcode(res.data);
}else if(res.action == ACTION_GO_HOME){
//去首页
my.reLaunch({
url: "/pages/home/home",
});
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment