mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-08-28 10:19:08 +08:00
13 lines
274 B
JavaScript
13 lines
274 B
JavaScript
import { createSharedComposable } from '@vueuse/core';
|
|
import { shallowReactive } from 'vue';
|
|
|
|
function _useLayout() {
|
|
const state = shallowReactive({
|
|
closeTab: () => {},
|
|
});
|
|
|
|
return state;
|
|
}
|
|
|
|
export const useLayout = createSharedComposable(_useLayout);
|