代码优化
This commit is contained in:
@@ -14,14 +14,9 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
onMounted,
|
||||
reactive
|
||||
} from 'vue';
|
||||
import { onMounted, reactive } from 'vue';
|
||||
import dayjs from 'dayjs';
|
||||
import {
|
||||
tbShopPurveyorTransacttransactPayInfos
|
||||
} from '@/http/yskApi/requestAll.js';
|
||||
|
||||
const props = defineProps({
|
||||
id: {
|
||||
type: Number
|
||||
@@ -34,12 +29,12 @@
|
||||
getlist()
|
||||
})
|
||||
let getlist = () => {
|
||||
tbShopPurveyorTransacttransactPayInfos({
|
||||
type: "",
|
||||
id: props.id
|
||||
}).then(res => {
|
||||
datas.list = res
|
||||
})
|
||||
// tbShopPurveyorTransacttransactPayInfos({
|
||||
// type: "",
|
||||
// id: props.id
|
||||
// }).then(res => {
|
||||
// datas.list = res
|
||||
// })
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user