fix: 支付/示例 queryParams 为 reactive

This commit is contained in:
dhb52 2023-08-13 21:48:41 +08:00
parent 5d364e268f
commit c7b8fdb884

View File

@ -121,7 +121,8 @@ const message = useMessage() // 消息弹窗
const loading = ref(true) //
const total = ref(0) //
const list = ref([]) //
const queryParams = ref({
//
const queryParams = reactive({
pageNo: 1,
pageSize: 10
})
@ -141,7 +142,7 @@ const getList = async () => {
}
/** 支付按钮操作 */
const handlePay = (row) => {
const handlePay = (row: any) => {
router.push({
name: 'PayCashier',
query: {
@ -195,7 +196,7 @@ const spus = ref([
const dialogVisible = ref(false) //
const formLoading = ref(false) //
const formData = ref({}) //
const formData = ref<any>({}) //
const formRules = {
spuId: [{ required: true, message: '商品编号不能为空', trigger: 'blur' }]
}