12 2017 档案
摘要:重要的是绑定:default-active="$route.path",然后再将index值变成自己的路由地址。 这样导航栏就自动随路由地址高亮啦~~ 但是如果你有子路由,那进入子路由旁边的导航栏是不会亮的,因为index值还是你父路由的地址,所以我们需要改变index值或者把$route.path
阅读全文
摘要:1、改变input的提示字位置 2、input文本域选中后会出现蓝边框,去除方式 input{ border:0; outline:none; /去除蓝色边框/ } 3、input标签让光标和输入框左边有点距离,在input属性加入。
阅读全文
摘要:RuntimeError: The session is unavailable because no secret key was set. Set the secret_key on the application to something unique and secret. 解决办法是 se
阅读全文
摘要:报错是因为,我们传进来的数据需要加单引号,使用 \ 转义就可以了~
阅读全文
摘要:urllib2发生报错URLError: <urlopen error [Errno 10061]:首先检查网址是否正确其次如果报这种错误,是因为ie里设置了代理,取消即可, 步骤: 打开IE浏览器 点击右上角齿轮图标 选择【Internet 选项】 切换到【连接】 删除代理设置即可
阅读全文
摘要:UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html5lib"). This usually isn't a proble
阅读全文

浙公网安备 33010602011771号