let modules = {};
modules = {
  name: "preformDialog",
  data() {
    return {
      showDialog: true,
      formData: {
        logContent: null
      }
    }
  },
  methods: {
    closeDialog() {
      this.$emit("update:visiable", false);
      this.showDialog = false;
    },
    confirmDialog() {
      this.$refs.editForm.$baseValidate(valid => {
        if (valid) {
          this.closeDialog();
          this.$emit("confirm", this.formData);
        }
      });

    }
  }
}
export default modules
