修改海南测试问题
This commit is contained in:
@@ -24,7 +24,10 @@ import { dateFormatter, formatPast2 } from '@/utils/formatTime'
|
||||
defineOptions({
|
||||
name: 'businessUser'
|
||||
})
|
||||
|
||||
const props = defineProps({
|
||||
height: [String, Number] ,
|
||||
|
||||
})
|
||||
const { push, options, currentRoute } = useRouter()
|
||||
const flag = ref(false)
|
||||
const tableStore = new TableStore({
|
||||
@@ -106,6 +109,11 @@ const tableStore = new TableStore({
|
||||
onMounted(() => {
|
||||
// 加载数据
|
||||
tableStore.index()
|
||||
setTimeout(() => {
|
||||
if (props.height) {
|
||||
tableStore.table.height = props.height
|
||||
}
|
||||
},0)
|
||||
})
|
||||
tableStore.table.params.searchValue = ''
|
||||
provide('tableStore', tableStore)
|
||||
|
||||
Reference in New Issue
Block a user