修改首页获取商户,发票选商户没反应的问题,,新增退出登录
This commit is contained in:
@@ -47,7 +47,7 @@ Page({
|
||||
return;
|
||||
}
|
||||
if (type === "tenement") {
|
||||
this.onChangeTenement(value.id)
|
||||
this.onChangeTenement(value)
|
||||
return;
|
||||
}
|
||||
},
|
||||
@@ -76,11 +76,13 @@ Page({
|
||||
this.init(currentYear, tenement)
|
||||
},
|
||||
onChangeTenement(e) {
|
||||
const { id, name } = e;
|
||||
const { year } = this.data;
|
||||
// const currentYear = years[Number(e)]
|
||||
this.setData({
|
||||
// year: currentYear,
|
||||
tenement: e,
|
||||
tenement: id,
|
||||
tenementName: name,
|
||||
type: "",
|
||||
show: false,
|
||||
title: ""
|
||||
|
Reference in New Issue
Block a user