fix: 提交后刷新列表

This commit is contained in:
xingyu 2023-08-12 12:23:17 +08:00
parent e262ab9504
commit b9477463fd

View File

@ -96,7 +96,7 @@
> >
<el-option v-for="item in spus" :key="item.id" :label="item.name" :value="item.id"> <el-option v-for="item in spus" :key="item.id" :label="item.name" :value="item.id">
<span style="float: left">{{ item.name }}</span> <span style="float: left">{{ item.name }}</span>
<span style="float: right; color: #8492a6; font-size: 13px"> <span style="float: right; font-size: 13px; color: #8492a6">
{{ (item.price / 100.0).toFixed(2) }} {{ (item.price / 100.0).toFixed(2) }}
</span> </span>
</el-option> </el-option>
@ -228,6 +228,7 @@ const submitForm = async () => {
dialogVisible.value = false dialogVisible.value = false
} finally { } finally {
formLoading.value = false formLoading.value = false
getList()
} }
} }