08 2017 档案

摘要:想重新设置auto_increment从1开始计数: ALTER TABLE tablename AUTO_INCREMENT=1; MYSQL中有UUID这个函数,但里面包含-,要取32位数字使用 REPLACE(UUID(),'-','') 但批量插入数据库的时候,REPLACE(UUID(), 阅读全文
posted @ 2017-08-23 14:28 Jane&Coding 阅读(223) 评论(0) 推荐(0)
摘要:在ts中获取的数据为number类型,想在html中显示为对应的文字。 需要在ts中指定枚举类型的引用变量: ts: @Component({ selector: 'pakcage-privilege', templateUrl: './package-privilege.component.htm 阅读全文
posted @ 2017-08-16 14:38 Jane&Coding 阅读(2763) 评论(0) 推荐(0)
摘要:更新了chrome之后出现的问题 解决办法: 删除\XX-Net-3.1.19\data\gae_proxy路径下的certs文件夹,重启下XX-Net和chrome。 阅读全文
posted @ 2017-08-15 10:36 Jane&Coding 阅读(403) 评论(0) 推荐(0)
摘要:1. 在html的<head>中添加 <meta charset="utf-8"> 2. 检查txt的保存格式,如果为ANSI,则另存为UTF-8格式 阅读全文
posted @ 2017-08-08 10:59 Jane&Coding 阅读(1084) 评论(0) 推荐(0)