摘要: 🌾 💐 🌷 🌹 我的AHK下载地址:https://github.com/dragon8github/Pandora/raw/master/pandora.exe AutoHotKey 下载:https://autohotkey.com/download/ 国内自制的ahk网站:https: 阅读全文
posted @ 2018-04-19 08:54 贝尔塔猫 阅读(6983) 评论(0) 推荐(0) 编辑
摘要: normalizeKey is not a function #element#vue#疑难杂症 原因是组件中使用了 import { Search } from '@element-plus/icons-vue' 解决方案是,在 main.ts 中,将 Vue 的引入置顶。 // TOP impo 阅读全文
posted @ 2023-08-28 11:27 贝尔塔猫 阅读(418) 评论(0) 推荐(0) 编辑
摘要: wsl 卸载 打开 “控制面板”。 点击”程序”。 选择”程序和功能”。 在菜单的左侧选择”启用或关闭Windows功能”。 取消勾选”适用于Linux的Windows子系统”选项。 单击”确定”按钮。 您需要重启计算机,以使更改生效。 阅读全文
posted @ 2023-07-23 17:38 贝尔塔猫 阅读(196) 评论(0) 推荐(0) 编辑
摘要: - An unexpected error was encountered while executing a WSL command. Common causes include access rights issues, which occur after waking the computer 阅读全文
posted @ 2023-07-23 17:38 贝尔塔猫 阅读(1917) 评论(0) 推荐(0) 编辑
摘要: // 清理缓存 $ yarn cache clean $ npm cache clean -f $ pnpm store prune // 设置新的缓存地址 $ npm config set global-folder "E:/npm/global" $ pnpm config set global 阅读全文
posted @ 2023-07-23 08:59 贝尔塔猫 阅读(1942) 评论(0) 推荐(0) 编辑
摘要: https://juejin.cn/post/7088133930674552868 不要写在 vue.config.js 里边,直接写在 postcss.config.js 里边即可。 pnpm i postcss-pxtorem module.exports = { plugins: { aut 阅读全文
posted @ 2023-06-01 09:29 贝尔塔猫 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 不能和 vite.config 的 server.origin 配置一起使用。 可以使用第三方插件。 可以使用 fetch 请求和处理数据。 ////////////////// App.vue <button @click="go">发送消息</button> // vite 第一种用法:new 阅读全文
posted @ 2023-05-17 09:37 贝尔塔猫 阅读(682) 评论(0) 推荐(0) 编辑
摘要: 我检查了如下几个内容: 我并没有任何地方做了try/catch 并不处理的情况。 也没有使用 app.config.errorHandler 全局错误拦截。 axios 也没有拦截响应也没有任何处理(哪怕报错的代码和请求无关) 哪怕手动输出 throw new Error(e.message) 也不 阅读全文
posted @ 2023-04-28 23:20 贝尔塔猫 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://juejin.cn/post/7029592051154944007 export function renderPolygon(geojson: any, zoomto: Boolean = true) { const viewer = window.viewer con 阅读全文
posted @ 2023-04-18 16:58 贝尔塔猫 阅读(1168) 评论(0) 推荐(0) 编辑
摘要: error TS9005: Declaration emit for this file requires using private name 'distance'. An explicit type annotation may unblock declaration emit. 代码如下: / 阅读全文
posted @ 2023-04-07 14:30 贝尔塔猫 阅读(813) 评论(0) 推荐(0) 编辑
摘要: <template> <div id="app"> <router-view v-slot="{ Component }"> <keep-alive> <component :is="Component" :key="$route.name" v-if="$route.meta.keepAlive" 阅读全文
posted @ 2023-03-30 05:27 贝尔塔猫 阅读(79) 评论(0) 推荐(0) 编辑