摘要:
nodejs import * as fs from "node:fs"; const convertFileCode = function (path) { if (!path.endsWith(".vue")) { return; } const res = fs.readFileSync(pa 阅读全文
摘要:
异步组件 <template> <Suspense v-if="!routerLoading"> <template #default> <AsyncComp /> </template> <template #fallback> <div class="loading-container"> <d 阅读全文
摘要:
开启dbms日志 双击Shift Action 搜索:dbms 执行计划 阅读全文
摘要:
reload优化 预构建 optimizeDeps: { exclude: ["@jhlc/utils", "@jhlc/types", "pdfjs-dist", "echarts", "dayjs"] }, 生产环境去掉console log和debugger esbuild: { drop: 阅读全文
摘要:
动态参数 ${if(len(name), "xxx", "xxx")} 阅读全文
摘要:
创建线程池 private ThreadFactory namedThreadFactory = new ThreadFactoryBuilder().setNameFormat(channel + "-pool-%d").build(); /** * 线程池 */ private Executor 阅读全文
摘要:
创建 create or replace function add (a varchar2, b varchar2) return varchar2 is v_res 阅读全文
摘要:
主应用 "@originjs/vite-plugin-federation": "^1.3.6" vite.config.ts build: { emptyOutDir: false, chunkSizeWarningLimit: 1000, minify: false, cssCodeSplit: 阅读全文
摘要:
问题描述 .DS_Store git rm -r --cached .DS_Store; git commit -m 'delete .DS_Store' ; 阅读全文
摘要:
组件类型 import {ComponentPublicInstance, getCurrentInstance} from "vue"; export abstract class CommonComponent { proxy?: ComponentPublicInstance = null; 阅读全文
摘要:
vite https接口 server: { hmr: true, port: 8002, host: '0.0.0.0', proxy: { '/dev-api': { // target: 'http://127.0.0.1:9000', // 接口基地址 // target: 'http:// 阅读全文