摘要:
组件类型 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:// 阅读全文
摘要:
创建dblink create public database link citic_market connect to jh4jtest identified by jh4jtest using '(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =1 阅读全文
摘要:
只需要禁用gitlab插件即可 阅读全文
摘要:
vue模板编译器 import {ASTElement, compile} from 'vue-template-compiler'; import {TableColumnDesc} from "@/components/table/base-table/type.ts"; export cons 阅读全文
摘要:
shell文件 基本语法 定义变量 阅读全文
摘要:
ast - 编译成代码 import * as path from 'path' import type { Plugin, ResolvedConfig } from 'vite' import { NodePath } from '@babel/traverse'; import { JSXEl 阅读全文
摘要:
异步组件内插槽无法获取组件实例 app.component( cName, defineAsyncComponent(async () => { this.registryNumber++; await setComponentOptions(component); return new Promi 阅读全文
摘要:
依赖 "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 阅读全文
摘要:
proxy: { "/dev-api": { target: "http://172.18.247.123:9000", rewrite: (path) => path.replace(/^/dev-api/, ''), configure: (proxy, _options) => { proxy 阅读全文
摘要:
强制更新 git强制覆盖: git fetch --all git reset --hard origin/master git pull 阅读全文
摘要:
### 环境 1. vue3 2. "vuedraggable": "^4.1.0" ### 物料区 ```vue {{ element.name }} ``` ### 预览区 ```vue {{ element.name }} ``` ### iframe ```vue ``` 阅读全文
摘要:
锁定版本 npm shrinkwrap 生成npm-shrinkwrap.json文件 node版本要求 yarn config set ignore-engines true 阅读全文
摘要:
### okhttp ```java public ApiResult exchange(Class clazz, Method method) throws Exception { FeignClient feignClient = (FeignClient)clazz.getAnnotation 阅读全文