UNPKG

tdesign-vue-next

Version:
25 lines (19 loc) 562 B
/** * tdesign v1.11.5 * (c) 2025 tdesign * @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