Merge branch 'dev' into 'master'

合并master

See merge request jianweie/coreshoppro!68
This commit is contained in:
bob bob
2024-11-02 09:04:47 +00:00
3 changed files with 11 additions and 5 deletions

View File

@@ -46,9 +46,14 @@
const hanlderBack = () => {
if (props.handleCustomRouteJump) {
props.handleCustomRouteJump();
} else {
uni.navigateBack();
return;
}
const pages = getCurrentPages()
if (pages.length === 1) {
handleRouteSwitchTab(RouteSwitchTabEnum.home);
return
}
uni.navigateBack();
}
</script>

View File

@@ -81,7 +81,7 @@
const { statusBarHeight } = useSystemInfo();
const calendarsRef = ref();
const nowTimeStamp = new Date().getTime()
const state = reactive<{
selectedDate : string;
arrowUp : boolean;
@@ -93,7 +93,7 @@
totalMoney : number;
userInfo : UserInfoType,
}>({
selectedDate: new Date().toLocaleDateString().replaceAll('/', '-') + '至' + new Date().toLocaleDateString().replaceAll('/', '-'),
selectedDate: timeFormat(nowTimeStamp) + '至' + timeFormat(nowTimeStamp),
arrowUp: false,
showMoney: false,
info: {},

View File

@@ -81,6 +81,7 @@
const { statusBarHeight } = useSystemInfo();
const calendarsRef = ref();
const nowTimeStamp = new Date().getTime()
const state = reactive<{
selectedDate : string;
@@ -93,7 +94,7 @@
totalMoney : number;
userInfo : UserInfoType,
}>({
selectedDate: new Date().toLocaleDateString().replaceAll('/', '-') + '至' + new Date().toLocaleDateString().replaceAll('/', '-'),
selectedDate: timeFormat(nowTimeStamp) + '至' + timeFormat(nowTimeStamp),
arrowUp: false,
showMoney: false,
info: {},