📅  最后修改于: 2022-03-11 14:56:05.097000             🧑  作者: Mango
import { fileURLToPath } from 'url';
import { dirname } from 'path';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);