10.13下午跟新
This commit is contained in:
@@ -413,14 +413,9 @@
|
||||
}
|
||||
};
|
||||
const goBack = () => {
|
||||
uni.navigateBack({
|
||||
delta: 1,
|
||||
fail() {
|
||||
uni.reLaunch({
|
||||
url: "/pages/index/index",
|
||||
});
|
||||
},
|
||||
});
|
||||
url: "/pages/index/index?from="+fromType.value
|
||||
})
|
||||
|
||||
};
|
||||
|
||||
@@ -595,7 +590,7 @@
|
||||
url: '/pages_app/schedule/schedule'
|
||||
});
|
||||
};
|
||||
|
||||
const fromType=ref('');
|
||||
// 显示添加菜单
|
||||
const showAddMenu = () => {
|
||||
showAddMenuFlag.value = true;
|
||||
@@ -609,7 +604,10 @@
|
||||
// 使用 up-index-list 后不再需要手动滚动联动逻辑
|
||||
|
||||
// 页面显示时加载数据
|
||||
onLoad(() => {
|
||||
onLoad((options) => {
|
||||
if(options.from == 'push'){
|
||||
fromType.value='push';
|
||||
}
|
||||
|
||||
loadMessageList();
|
||||
computeListHeight();
|
||||
|
||||
Reference in New Issue
Block a user