摘要:
通常组件传参是有两种情况 父子组件进行传参,这时候通常利用props 非父子组件传参,这时候一般利用vuex 会有一种情况隔代组件传参,这时候可以利用props一层一层传递下去,但是代码就比较乱了 所以就有了 provide/inject 进行隔代组件传递 参考:link 例:components\
阅读全文
posted @ 2021-11-19 11:50
XiaoNiuFeiTian
阅读(1005)
推荐(0)
摘要:
使用的一个类库,在前端vue没办法在请求时添加请求头allow-cross-origin什么的。。 而如果在vue.config.js加上代理也依然出现跨域。。 突然发现,可以在tomcat里web.xml中设置跨域(E:\apache-tomcat-9.0.38\conf\web.xml) <fi
阅读全文
posted @ 2021-11-19 09:18
XiaoNiuFeiTian
阅读(131)
推荐(0)
摘要:
Dialog 对话框 在保留当前页面状态的情况下,告知用户并承载相关操作。 基本用法: Dialog 弹出一个对话框,适合需要定制性更大的场景。 <el-button type="text" @click="dialogVisible = true">点击打开 Dialog</el-button>
阅读全文
posted @ 2021-11-18 14:06
XiaoNiuFeiTian
阅读(91)
推荐(0)
摘要:
微前端技术框架qiankun技术分享:https://zhuanlan.zhihu.com/p/135343332 公司平台涉及自研和外采等多个子系统,如何把众多子系统前端界面集成到一起,组成统一平台管理界面,最大程度地提升保持用户体验一致,是项目团队首要解决的问题,在传统iframe方案不能满足项
阅读全文
posted @ 2021-11-16 16:29
XiaoNiuFeiTian
阅读(328)
推荐(0)
摘要:
vue+openlayers封装了常用的gis方法,如天地图的加载,鹰眼、图片保存、量测、argis server 和geoserver服务的加载以及相关属性的查询、根据坐标加载点线面要素、鼠标动态绘制点线面、图层控制等函数的封装,建议使用者转移到https://gitee.com/laingyua
阅读全文
posted @ 2021-11-16 13:25
XiaoNiuFeiTian
阅读(363)
推荐(0)
摘要:
正则表达式(英语:Regular Expression,在代码中常简写为regex、regexp或RE)使用单个字符串来描述、匹配一系列符合某个句法规则的字符串搜索模式。 参考:https://www.runoob.com/js/js-regexp.html 搜索模式可用于文本搜索和文本替换。 >>
阅读全文
posted @ 2021-11-16 09:48
XiaoNiuFeiTian
阅读(45)
推荐(0)
摘要:
网页布局(layout)是 CSS 的一个重点应用。 参考:https://www.ruanyifeng.com/blog/2015/07/flex-grammar.html div标签是容器 >>CSS3 弹性盒子(Flex Box) 弹性盒子是 CSS3 的一种新的布局模式。 https://w
阅读全文
posted @ 2021-11-16 09:09
XiaoNiuFeiTian
阅读(42)
推荐(0)
摘要:
http://earthsdk.com/v/last/Apps/Examples/?menu=true&url=./startup-createEarth.html >>NavigationDiv
阅读全文
posted @ 2021-11-13 21:40
XiaoNiuFeiTian
阅读(97)
推荐(0)
摘要:
npm i -g debundle 简介: $ debundle Usage: debundle [input file] {OPTIONS} Options: --input, -i Bundle to debundle --output, -o Directory to debundle cod
阅读全文
posted @ 2021-11-13 17:26
XiaoNiuFeiTian
阅读(829)
推荐(0)
摘要:
安装labelme时总是安装失败 pip install --upgrade labelme 依然还是龟速 老是因为网络原因 pip install PyQt5 --trusted-host http://pypi.tuna.tsinghua.edu.cn/simple pip install --
阅读全文
posted @ 2021-11-11 11:23
XiaoNiuFeiTian
阅读(239)
推荐(0)