使用MAF开发插件时FrameworkElementAdapters是个坑,查帮助手册发现这个类位于System.AddIn.Pipeline命名空间中,但是添加System.AddIn的引用后发现VS还是报错:"The name 'FrameworkElementAdapters' does not exist in the current ×××(你当前程序集的名称)". 搞了半天才发现,还要添加System.Windows.Presentation的引用才能解决这个错误,真是让人…
//清除子表数据 public SalesSet removeSalesSetDistributor(SalesSet salesSet ){ List<SalesSetDistributor> salesSetDistributorList = salesSet.getSalesSetDistributors(); deleteAll(salesSetDistributorList); salesSetDistributorList.clear(); save(salesSet); retu…
CentOS命令登录MySQL时,报错ERROR 1045 (28000): Access denied for user root@localhost (using password: NO)错误解决方法 1.停用mysql服务:# /etc/rc.d/init.d/mysqld stop 2.输入命令:# mysqld_safe --user=mysql --skip-grant-tables --skip-networking & 3.登入数据库:# mysql -u root mysql…
以下其他仅做参考,官方网址才是安装重点:http://docs.saltstack.cn/topics/installation/rhel.html 与安装相关的一些文档或资料: 一.linux服务器安装: http://blog.chinaunix.net/xmlrpc.php?r=blog/article&uid=12067603&id=4027192 源码安装与简单配置http://blog.chinaunix.net/uid-20908097-id-3984933.html 二.架…
vue使用v-for时vscode报错 Elements in iteration expect to have 'v-bind:key' directives Vue 2.2.0+的版本里,当在组件中使用v-for时,key是必须的错误提示:[vue-language-server] Elements in iteration expect to have 'v-bind:key' directives.Renders the element or template block multipl…
Ansible 脚本运行一次后,再次运行时出现报错情况,原因:ansible  script 的格式不对,应改成Unix编码 find . -name "*" | xargs dos2unixsudo vi /etc/profile.d/zookeeper.sh:set ff=unix :wqexitenvPATH=/opt/zookeeper/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/ec2-user/.l…
在开发中引用插件时,报错“exports is not defined” 但在引用第三方组件的时候,在浏览器中报错“exports is not defined”.根据浏览器报错信息,查询到报错来源是第三方组件的一段代码: 经过查资料,这是使用了CommonJs写法,而在应用中并没有做相应的模块转换使得浏览器能够识别.而导致这个问题是因为balbel的配置文件.babelrc的问题: 需要改动.babelrc文件即可: 其中{ "modules": false }阻止了babel进行模…
一.报错信息 安装vue-cli时-4058报错 二.解决办法 1.安装淘宝镜像 npm --registry https://registry.npm.taobao.org info underscore 2.cnpm install --global vue-cli 3.ok…
vue项目使用echarts按需引入实现地图动态显示效果时,报错:TypeError: Cannot read property 'dataToPoint' of undefined 借鉴了该大神的文章:https://blog.csdn.net/mazeyqian/article/details/78700605  在我的项目里面未引入geo,引入geo后报错消失. 引入方法:require('echarts/lib/component/geo')…