Commit 6c4434a1 authored by Facius's avatar Facius

Merge branch 'dev-v1.0.0' into test

parents ed4b4d77 8be141fe
......@@ -85,7 +85,7 @@ export default {
this.$u.vuex('orgId', orgId || -1)
} else {
if (scene.includes(options.scene)) { // 如果需要更新机构ID
if (!orgId) { // 针对重新载入小程序 安卓的query参数会清空
if (!orgId && options.path === 'pages/index/index') { // 针对重新载入小程序 安卓的query参数会清空
// 如果没有参数,需要重置为平台的场景
const platformScene = [1005, 1006, 1026, 1053, 1145, 1183, 1017]
if (platformScene.includes(options.scene)) {
......
......@@ -197,6 +197,9 @@ export default {
if (e && e.key) {
this.$nextTick(() => {
// setTimeout(() => {
if (e.key == 'today') {
e.key = 'total'
}
this.scrollId = 'part-' + e.key
// }, 500)
})
......@@ -222,7 +225,9 @@ export default {
.then((res) => {
this.days = []
for (var item of res) {
this.days.push(item.time.replace(/\-0/g, '\-'))
if (item.count >= 10) {
this.days.push(item.time.replace(/\-0/g, '\-'))
}
}
})
.catch((err) => {
......@@ -475,7 +480,7 @@ export default {
}
.list-view {
padding-bottom: 44rpx;
min-height: 960rpx;
min-height: 240rpx;
.list-content {
padding: 0 30rpx 20rpx 30rpx;
min-height: 44rpx;
......
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