Commit 635d1eb5 authored by dcy's avatar dcy

订单填写特需弹框页,点击取消按钮和叉叉都无法关闭弹框

parent bff9fcf3
<template>
<div>
<el-dialog :before-close="()=>{
clearFrom();$emit('update:show',false)
<el-dialog :before-close="()=>{$emit('update:show',false)
}" center width="80%" :visible.sync="show">
<div class="content">
<el-form label-width="180px" label-position="left">
......@@ -21,7 +20,7 @@
</div>
<div slot="footer" class="dialog-footer">
<el-button @click="submit">提交</el-button>
<el-button @click="clearFrom();$emit('update:show',false)">取消</el-button>
<el-button @click="$emit('update:show',false)">取消</el-button>
</div>
</el-dialog>
</div>
......
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