forked from ard/ruoyi-api

liusuyi
2024-07-12 49bedcce2ac42fa34da012ee3fc8e9230886064a
1
2
3
4
/**
 * Detects whether window and document objects are available in current environment.
 */
export default typeof window !== 'undefined' && typeof document !== 'undefined' && window.document === document;