摘要:
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 阅读全文
摘要:
### rollup-plugin-visualizer 打包耗时打印 ```shell pnpm add rollup-plugin-visualizer -D ``` ```ts import { visualizer } from 'rollup-plugin-visualizer'; exp 阅读全文
摘要:
```vue --> 点击菜单 ``` 阅读全文
摘要:
### 驱动 ```xml com.microsoft.sqlserver mssql-jdbc 6.2.0.jre8 ``` ### SSL连接出错 ```shell [08S01] 驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。 错误:“The serve 阅读全文
摘要:
```js import axios from "axios"; import qs from "qs" const show = async function () { const result = []; const files = await showDirectoryPicker(); co 阅读全文
摘要:
### svg symbol ```html ``` 使用`symbol`注册svg的优点: - 复用 - 拓展性高:支持宽度、高度、颜色等属性修改 ### 使用场景 从后端或某个目录下获取svg字符串,然后注册到body后,供当前页面使用 阅读全文