|
@@ -142,7 +142,7 @@ const orderList = {
|
|
|
try {
|
|
|
const res = await confirmFunc[type](order)
|
|
|
// 确认操作订单成功后的回调都在这里执行 在this.$on 中监听 orderAction 事件的执行
|
|
|
- this.$emit('orderAction')
|
|
|
+ this.$emit('orderAction', type)
|
|
|
if (res && res.msg) this.$toast.success(res.msg)
|
|
|
} catch (error) {
|
|
|
this.$toast.error(res.msg)
|