02 2024 档案
摘要:useModal.js import { nextTick, ref } from 'vue' import { isFunction } from '@/utils/judge' export function useModal() { // 标题 // 执行ok、cancel方法 const v
阅读全文
摘要:参考: https://www.php.cn/faq/562208.html 之前的写法 <component :is='xxx'></component> 异步加载组件 <template> <AsyncComponent v-if="item.data" :key="item.data.comI
阅读全文
摘要:解决办法 .eslintrc.js rules: { "prettier/prettier": ["error", {"endOfLine": "lf"}] }, .prettierrc.js // 行结束符使用 Unix 格式 endOfLine: 'lf', Webstom设置行结束符为lf格式
阅读全文
摘要:components简介 在不同组件之间进行动态切换 Vue的元素加一个特殊的【is】属性来实现 多个组件使用同一个挂载点,之后动态在各个组件之间切换 内置组件keep-alive keep-alive 动态组件默认每次切换都会销毁组件并重新创建,这样会影像性能 使用keep-alive组件缓存非活
阅读全文
摘要:box-shadow: 0 0.4px 3.6px rgba(0, 0, 0, 0.004), 0 1px 8.5px rgba(0, 0, 0, 0.01), 0 1.9px 15.7px rgba(0, 0, 0, 0.019), 0 3.4px 28.2px rgba(0, 0, 0, 0.0
阅读全文
摘要:const USER_NAME = "wangzz"; class A {} let age = 25; var job = "coder"; function printInfo() { console.log("USER_NAME: ", this.USER_NAME); console.log
阅读全文
摘要:Cartesian3 new Cesium.Cartesian3(x,y,z) 一个3D笛卡尔点 clone() -> Cartesian3 复制此Cartesian3实例 -> Cartesain3存储结果的对象 equals(right) -> Boolean 将两个Cartesian3的笛卡尔
阅读全文
摘要:GeoJSON概览 https://www.processon.com/mindmap/6224a2dc7d9c0836f90060a8 地理要素特征对象 -> Feature { type: "Feature", "properties": {name: 'xxx'}, "geometry": {
阅读全文
摘要:  ![](https://
阅读全文