/**
 * ldesign v0.3.13
 * (c) 2023 ldesign
 * @license MIT
 */

'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var vue = require('vue');

var TDisplayNoneElementRefresh = "t-display-none-element-refresh";
function useDestroyOnClose() {
  var refresh = vue.ref(0);
  vue.provide(TDisplayNoneElementRefresh, refresh);
  vue.onUpdated(function () {
    refresh.value += 1;
  });
}

exports.TDisplayNoneElementRefresh = TDisplayNoneElementRefresh;
exports["default"] = useDestroyOnClose;
//# sourceMappingURL=useDestroyOnClose.js.map
