File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,8 @@ const message = useMessage() // 消息弹窗
121
121
const loading = ref (true ) // 列表的加载中
122
122
const total = ref (0 ) // 列表的总页数
123
123
const list = ref ([]) // 列表的数据
124
- const queryParams = ref ({
124
+ // 查询条件
125
+ const queryParams = reactive ({
125
126
pageNo: 1 ,
126
127
pageSize: 10
127
128
})
@@ -141,7 +142,7 @@ const getList = async () => {
141
142
}
142
143
143
144
/** 支付按钮操作 */
144
- const handlePay = (row ) => {
145
+ const handlePay = (row : any ) => {
145
146
router .push ({
146
147
name: ' PayCashier' ,
147
148
query: {
@@ -195,7 +196,7 @@ const spus = ref([
195
196
196
197
const dialogVisible = ref (false ) // 弹窗的是否展示
197
198
const formLoading = ref (false ) // 表单的加载中
198
- const formData = ref ({}) // 表单数据
199
+ const formData = ref < any > ({}) // 表单数据
199
200
const formRules = {
200
201
spuId: [{ required: true , message: ' 商品编号不能为空' , trigger: ' blur' }]
201
202
}
You can’t perform that action at this time.
0 commit comments