cruxDialog.vue 584 B

1234567891011121314151617181920212223242526272829
  1. <template>
  2. <el-dialog title="关键信息点" :visible.sync="dialogFormVisible">
  3. <div slot="footer" class="dialog-footer">
  4. <el-button @click="dialogFormVisible = false">取 消</el-button>
  5. <el-button type="primary" @click="dialogFormVisible = false">确 定</el-button>
  6. </div>
  7. </el-dialog>
  8. </template>
  9. <script>
  10. export default {
  11. name: "cruxDialog",
  12. data() {
  13. return {
  14. dialogFormVisible: false
  15. }
  16. },
  17. methods: {
  18. dialogOpen() {
  19. this.dialogFormVisible = true
  20. }
  21. }
  22. }
  23. </script>
  24. <style scoped>
  25. </style>