摘要: 今天在运行程序的时候得到错误: Caused by: java.sql.SQLException: The user specified as a definer ('ipdown'@'%') does not exist 在数据库中查看是一个视图的问题。视图创建的语句都是从服务器上直接备份过来的, 阅读全文
posted @ 2017-09-13 16:38 Jane&Coding 阅读(299) 评论(0) 推荐(0)
摘要: 安装完Ubuntu不能显示全屏,点击 “ 虚拟机-》重新安装VMWare Tools” 显示"正在进行简易安装时 无法安装tools"。 在本地VMWare 安装目录下,发现有window.iso和liunx.iso文件。 点击“虚拟机-》设置”,点击左侧“添加”->"CD/DVD驱动器",选择li 阅读全文
posted @ 2017-09-07 14:14 Jane&Coding 阅读(396) 评论(0) 推荐(0)
摘要: 想重新设置auto_increment从1开始计数: ALTER TABLE tablename AUTO_INCREMENT=1; MYSQL中有UUID这个函数,但里面包含-,要取32位数字使用 REPLACE(UUID(),'-','') 但批量插入数据库的时候,REPLACE(UUID(), 阅读全文
posted @ 2017-08-23 14:28 Jane&Coding 阅读(221) 评论(0) 推荐(0)
摘要: 在ts中获取的数据为number类型,想在html中显示为对应的文字。 需要在ts中指定枚举类型的引用变量: ts: @Component({ selector: 'pakcage-privilege', templateUrl: './package-privilege.component.htm 阅读全文
posted @ 2017-08-16 14:38 Jane&Coding 阅读(2761) 评论(0) 推荐(0)
摘要: 更新了chrome之后出现的问题 解决办法: 删除\XX-Net-3.1.19\data\gae_proxy路径下的certs文件夹,重启下XX-Net和chrome。 阅读全文
posted @ 2017-08-15 10:36 Jane&Coding 阅读(399) 评论(0) 推荐(0)
摘要: 1. 在html的<head>中添加 <meta charset="utf-8"> 2. 检查txt的保存格式,如果为ANSI,则另存为UTF-8格式 阅读全文
posted @ 2017-08-08 10:59 Jane&Coding 阅读(1070) 评论(0) 推荐(0)
摘要: 当在html中定义的input 的名称 #name 与ts中class的属性名称相同,则会报该错。 参考: http://4dev.tech/2016/09/angular2-error-cannot-assign-to-a-reference-or-variable-zone-root-task- 阅读全文
posted @ 2017-06-15 13:58 Jane&Coding 阅读(2463) 评论(0) 推荐(0)
摘要: 如果值有单独的一两个textbox,可以对GotKeyboardFocus事件处理为SelectAll()。 但当工程中textbox数量比较多时,可以在App.xaml.cs中进行事件注册: 参考: https://social.msdn.microsoft.com/Forums/vstudio/ 阅读全文
posted @ 2017-06-05 10:26 Jane&Coding 阅读(1473) 评论(0) 推荐(0)
摘要: C# Java TypeScript: 阅读全文
posted @ 2017-04-06 16:59 Jane&Coding 阅读(155) 评论(0) 推荐(0)
摘要: C#(https://msdn.microsoft.com/zh-cn/library/ba0a1yw2.aspx) public:访问不受限制。 protected:访问仅限于包含类或从包含类派生的类型。 Internal:访问仅限于当前程序集。 protected internal:访问限制到当 阅读全文
posted @ 2017-04-06 14:18 Jane&Coding 阅读(519) 评论(0) 推荐(0)