<el-dialog title="子组件弹出框" :visible.sync="dialogVisible" @close="closeDialog"> <div slot="footer"> <el-button @click="closeDialog">取消</el-button> <el-button type="primary" @click="closeDialog">确定</el-button> </div> </el-dialog> </template> <script> export default { na...
<template> <el-dialog title="提示" :visible.sync="dialogVisible" width="30%" :show-close="false"> <span>这是一段内容</span> <span slot="footer" class="dialog-footer"> <el-button @click="dialogVisible = false">取消</el-button> ...
<el-dialog title="子组件弹出框" :visible.sync="dialogVisible" @close="closeDialog"> <div slot="footer"> <el-button @click="closeDialog">取消</el-button> <el-button type="primary" @click="closeDialog">确定</el-button> </div> </el-dialog> </template> <script> export default { na...
<el-dialog title="子组件弹出框" :visible.sync="dialogVisible" @close="closeDialog"> <div slot="footer"> <el-button @click="closeDialog">取消</el-button> <el-button type="primary" @click="closeDialog">确定</el-button> </div> </el-dialog> </template> <script> export default { na...