mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:13:26 +08:00
Merge branch 'dev' into 'master'
合并master See merge request jianweie/coreshoppro!68
This commit is contained in:
@@ -46,9 +46,14 @@
|
|||||||
const hanlderBack = () => {
|
const hanlderBack = () => {
|
||||||
if (props.handleCustomRouteJump) {
|
if (props.handleCustomRouteJump) {
|
||||||
props.handleCustomRouteJump();
|
props.handleCustomRouteJump();
|
||||||
} else {
|
return;
|
||||||
uni.navigateBack();
|
|
||||||
}
|
}
|
||||||
|
const pages = getCurrentPages()
|
||||||
|
if (pages.length === 1) {
|
||||||
|
handleRouteSwitchTab(RouteSwitchTabEnum.home);
|
||||||
|
return
|
||||||
|
}
|
||||||
|
uni.navigateBack();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -81,7 +81,7 @@
|
|||||||
const { statusBarHeight } = useSystemInfo();
|
const { statusBarHeight } = useSystemInfo();
|
||||||
|
|
||||||
const calendarsRef = ref();
|
const calendarsRef = ref();
|
||||||
|
const nowTimeStamp = new Date().getTime()
|
||||||
const state = reactive<{
|
const state = reactive<{
|
||||||
selectedDate : string;
|
selectedDate : string;
|
||||||
arrowUp : boolean;
|
arrowUp : boolean;
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
totalMoney : number;
|
totalMoney : number;
|
||||||
userInfo : UserInfoType,
|
userInfo : UserInfoType,
|
||||||
}>({
|
}>({
|
||||||
selectedDate: new Date().toLocaleDateString().replaceAll('/', '-') + '至' + new Date().toLocaleDateString().replaceAll('/', '-'),
|
selectedDate: timeFormat(nowTimeStamp) + '至' + timeFormat(nowTimeStamp),
|
||||||
arrowUp: false,
|
arrowUp: false,
|
||||||
showMoney: false,
|
showMoney: false,
|
||||||
info: {},
|
info: {},
|
||||||
|
|||||||
@@ -81,6 +81,7 @@
|
|||||||
const { statusBarHeight } = useSystemInfo();
|
const { statusBarHeight } = useSystemInfo();
|
||||||
|
|
||||||
const calendarsRef = ref();
|
const calendarsRef = ref();
|
||||||
|
const nowTimeStamp = new Date().getTime()
|
||||||
|
|
||||||
const state = reactive<{
|
const state = reactive<{
|
||||||
selectedDate : string;
|
selectedDate : string;
|
||||||
@@ -93,7 +94,7 @@
|
|||||||
totalMoney : number;
|
totalMoney : number;
|
||||||
userInfo : UserInfoType,
|
userInfo : UserInfoType,
|
||||||
}>({
|
}>({
|
||||||
selectedDate: new Date().toLocaleDateString().replaceAll('/', '-') + '至' + new Date().toLocaleDateString().replaceAll('/', '-'),
|
selectedDate: timeFormat(nowTimeStamp) + '至' + timeFormat(nowTimeStamp),
|
||||||
arrowUp: false,
|
arrowUp: false,
|
||||||
showMoney: false,
|
showMoney: false,
|
||||||
info: {},
|
info: {},
|
||||||
|
|||||||
Reference in New Issue
Block a user