mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 19:29:04 +08:00
17 lines
269 B
TypeScript
17 lines
269 B
TypeScript
import { ref } from 'vue';
|
|
|
|
const openPreferences = ref(false);
|
|
|
|
function useOpenPreferences() {
|
|
function handleOpenPreference() {
|
|
openPreferences.value = true;
|
|
}
|
|
|
|
return {
|
|
handleOpenPreference,
|
|
openPreferences,
|
|
};
|
|
}
|
|
|
|
export { useOpenPreferences };
|