Commit b9477463 by xingyu

fix: 提交后刷新列表

parent e262ab95
...@@ -96,7 +96,7 @@ ...@@ -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 () => { ...@@ -228,6 +228,7 @@ const submitForm = async () => {
dialogVisible.value = false dialogVisible.value = false
} finally { } finally {
formLoading.value = false formLoading.value = false
getList()
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment