<template>
  <syMessageBox
    :visible="globalState.syMessageBoxConfig.visible"
    @update:visible="hidde"
    :tip="globalState.syMessageBoxConfig.tip"
    :handle-confirm="globalState.syMessageBoxConfig.handleConfirm"
    :handle-cancel="globalState.syMessageBoxConfig.handleCancel"
  ></syMessageBox>
</template>
<script lang="ts" setup>
import { globalState } from "@/store/state";
import { syMessageBox } from "cqk-sy-ui";
const hidde = () => {
  globalState.syMessageBoxConfig = {
    ...globalState.syMessageBoxConfig,
    visible: false,
  };
};
</script>
