Skip to content

Commit b947746

Browse files
committed
fix: 提交后刷新列表
1 parent e262ab9 commit b947746

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/views/pay/demo/index.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
>
9797
<el-option v-for="item in spus" :key="item.id" :label="item.name" :value="item.id">
9898
<span style="float: left">{{ item.name }}</span>
99-
<span style="float: right; color: #8492a6; font-size: 13px">
99+
<span style="float: right; font-size: 13px; color: #8492a6">
100100
¥{{ (item.price / 100.0).toFixed(2) }}
101101
</span>
102102
</el-option>
@@ -228,6 +228,7 @@ const submitForm = async () => {
228228
dialogVisible.value = false
229229
} finally {
230230
formLoading.value = false
231+
getList()
231232
}
232233
}
233234

0 commit comments

Comments
 (0)