<template>
  <syMessageBox
    :visible="globalState.syMessageBoxConfig.visible"
    @update:visible="hidde"
    :tip="globalState.syMessageBoxConfig.tip"
    :handle-confirm="globalState.syMessageBoxConfig.handleConfirm"
    :handle-cancel="globalState.syMessageBoxConfig.handleCancel"
    :hight-words="globalState.syMessageBoxConfig.hightWords"
  ></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>
