flat: 消息
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
import dictLabel from '@/components/dict-Label/dict-Label.vue';
|
||||
import { reactive, inject, watch, ref, onMounted } from 'vue';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { onLoad, onShow, onReachBottom } from '@dcloudio/uni-app';
|
||||
import { onLoad, onShow } from '@dcloudio/uni-app';
|
||||
import useUserStore from '@/stores/useUserStore';
|
||||
const { $api, navTo, navBack } = inject('globalFunction');
|
||||
import useLocationStore from '@/stores/useLocationStore';
|
||||
@@ -68,15 +68,16 @@ const currentDate = ref('');
|
||||
|
||||
onLoad(() => {
|
||||
getBrowseDate();
|
||||
const today = new Date().toISOString().split('T')[0];
|
||||
getJobList('refresh');
|
||||
currentDate.value = today;
|
||||
// const today = new Date().toISOString().split('T')[0];
|
||||
// currentDate.value = today;
|
||||
});
|
||||
|
||||
function toSelectDate() {
|
||||
navTo('/packageA/pages/selectDate/selectDate', {
|
||||
query: {
|
||||
date: currentDate.value,
|
||||
record: true,
|
||||
},
|
||||
onBack: (res) => {
|
||||
currentDate.value = res.date;
|
||||
@@ -216,4 +217,4 @@ image {
|
||||
background: #f4f4f4
|
||||
|
||||
}
|
||||
</style>
|
||||
</style>
|
Reference in New Issue
Block a user