|
|
@@ -398,7 +398,7 @@
|
|
|
<el-icon v-else><Promotion /></el-icon>
|
|
|
<span>{{ isSubmiting ? t('workflowTradeAdd.publishing') : $t('common.fabuxuqiu') }}</span>
|
|
|
</button>
|
|
|
- <button class="wta-btn-cancel" @click="goBack">
|
|
|
+ <button class="wta-btn-cancel" @click.stop.prevent="goBack">
|
|
|
<el-icon><Back /></el-icon>
|
|
|
<span>{{ $t('common.back') }}</span>
|
|
|
</button>
|
|
|
@@ -685,7 +685,7 @@ const submitForm = async () => {
|
|
|
})
|
|
|
})
|
|
|
}
|
|
|
-const goBack = () => router.back()
|
|
|
+const goBack = () => window.history.back()
|
|
|
const getCategoryListTreeFn = () => {
|
|
|
getCategoryListTree().then(res => { categoryListTree.value = res.rows || [] })
|
|
|
}
|