2020年4月14日

laravel + mysql5.7 sql_model = only_full_group_by 问题

摘要: 1.去掉sql_model = only_full_group_by 。 2.laravel框架,config/database.php 里面的 strict 默认 true,改为false。 阅读全文

posted @ 2020-04-14 17:44 秋名山上 阅读(274) 评论(0) 推荐(0)

2020年2月19日

thinkphp auth 后端权限验证。

摘要: 1.第一步需要到github上下载Auth类放入 extend/auth/Auth.php https://github.com/5ini99/think-auth 2.第二步,添加固定的三个数据表。 -- think_auth_rule,规则表, -- id:主键,name:规则唯一标识, tit 阅读全文

posted @ 2020-02-19 18:24 秋名山上 阅读(503) 评论(0) 推荐(0)

2019年10月15日

CSS浮动float父div没有高度的问题

摘要: 如下所示,子元素 div2 本身具有高度和宽度,但由于其具有float:left;属性后。其父元素 div1 不具有高度。 <html> <head> </head> <body> <div id="div1"> <div id="div2" style="width:100px;height:20 阅读全文

posted @ 2019-10-15 13:14 秋名山上 阅读(869) 评论(0) 推荐(0)

2019年9月26日

vue非cli项目兼容ie

摘要: 1.引入该文件,解决axios请求问题<script src="https://cdn.bootcss.com/babel-polyfill/7.0.0-beta.49/polyfill.min.js"></script> 2.template 在ie无法被识别,替换掉<template></tem 阅读全文

posted @ 2019-09-26 13:32 秋名山上 阅读(342) 评论(0) 推荐(0)

导航

点击右上角即可分享
微信分享提示