摘要: 动态参数 ${if(len(name), "xxx", "xxx")} 阅读全文
posted @ 2024-11-19 13:45 fight139 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 创建线程池 private ThreadFactory namedThreadFactory = new ThreadFactoryBuilder().setNameFormat(channel + "-pool-%d").build(); /** * 线程池 */ private Executor 阅读全文
posted @ 2024-10-29 14:24 fight139 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 创建 create or replace function add (a varchar2, b varchar2) return varchar2 is v_res 阅读全文
posted @ 2024-10-28 14:30 fight139 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 主应用 "@originjs/vite-plugin-federation": "^1.3.6" vite.config.ts build: { emptyOutDir: false, chunkSizeWarningLimit: 1000, minify: false, cssCodeSplit: 阅读全文
posted @ 2024-10-18 21:21 fight139 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 问题描述 .DS_Store git rm -r --cached .DS_Store; git commit -m 'delete .DS_Store' ; 阅读全文
posted @ 2024-09-22 18:02 fight139 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 组件类型 import {ComponentPublicInstance, getCurrentInstance} from "vue"; export abstract class CommonComponent { proxy?: ComponentPublicInstance = null; 阅读全文
posted @ 2024-07-29 10:39 fight139 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 发布版本后静态文件资源找不到问题 阅读全文
posted @ 2024-07-24 21:25 fight139 阅读(2) 评论(0) 推荐(0) 编辑
摘要: vite https接口 server: { hmr: true, port: 8002, host: '0.0.0.0', proxy: { '/dev-api': { // target: 'http://127.0.0.1:9000', // 接口基地址 // target: 'http:// 阅读全文
posted @ 2024-07-23 10:18 fight139 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 创建dblink create public database link citic_market connect to jh4jtest identified by jh4jtest using '(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =1 阅读全文
posted @ 2024-07-22 20:01 fight139 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 只需要禁用gitlab插件即可 阅读全文
posted @ 2024-07-22 09:06 fight139 阅读(17) 评论(0) 推荐(0) 编辑
摘要: vue模板编译器 import {ASTElement, compile} from 'vue-template-compiler'; import {TableColumnDesc} from "@/components/table/base-table/type.ts"; export cons 阅读全文
posted @ 2024-06-19 16:48 fight139 阅读(4) 评论(0) 推荐(0) 编辑
摘要: shell文件 基本语法 定义变量 阅读全文
posted @ 2024-04-24 16:48 fight139 阅读(3) 评论(0) 推荐(0) 编辑
摘要: ast - 编译成代码 import * as path from 'path' import type { Plugin, ResolvedConfig } from 'vite' import { NodePath } from '@babel/traverse'; import { JSXEl 阅读全文
posted @ 2024-04-11 13:20 fight139 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 异步组件内插槽无法获取组件实例 app.component( cName, defineAsyncComponent(async () => { this.registryNumber++; await setComponentOptions(component); return new Promi 阅读全文
posted @ 2023-12-14 20:51 fight139 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 依赖 "vitest": "0.34.6", "@vue/test-utils": "2.4.3", "axios-mock-adapter": "^1.22.0", 示例 import { mount } from "@vue/test-utils"; import { test, vi } fr 阅读全文
posted @ 2023-12-11 20:54 fight139 阅读(165) 评论(0) 推荐(0) 编辑