Commit 38c199ee authored by 陈浩玮's avatar 陈浩玮

Merge branch 'feature/shuiluo' into 'master'

bugfix: 修复新增bug,去掉console

See merge request product/kim3-web-vue/starter-web-vue!42
parents 50ce56ec 056736ec
...@@ -59,7 +59,6 @@ export default { ...@@ -59,7 +59,6 @@ export default {
methods: { methods: {
async submit() { async submit() {
await this.$refs.form.validate(); await this.$refs.form.validate();
console.log(this.isAdd);
if (this.isAdd) return addRegionApi(this.form); if (this.isAdd) return addRegionApi(this.form);
if (this.isEdit) return editRegionApi(this.form); if (this.isEdit) return editRegionApi(this.form);
}, },
......
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
</template> </template>
<template #drawer="{ hidden, refresh, type, row }"> <template #drawer="{ hidden, refresh, type, row }">
<Form :hidden="hidden" :refresh="refresh" v-if="type === 'add'" /> <Form :hidden="hidden" :refresh="refresh" v-if="type === null" />
<Progress v-if="type === 'progress'" :hidden="hidden" :row="row" /> <Progress v-if="type === 'progress'" :hidden="hidden" :row="row" />
<Detail v-if="type === 'detail'" :hidden="hidden" :row="row" /> <Detail v-if="type === 'detail'" :hidden="hidden" :row="row" />
</template> </template>
......
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 to comment