上一页 1 2 3 4 5 6 7 8 9 ··· 59 下一页
摘要: 1,创建中间件 php artisan make:middleware Activery 2,中间写过滤 public function handle($request, Closure $next){ if($request->age<20){ return redirect('home'); } 阅读全文
posted @ 2023-11-03 23:40 学无边涯 阅读(69) 评论(0) 推荐(0)
摘要: vue中v-bind绑定元素属性 <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1.0"> <title>vue.js</title> </he 阅读全文
posted @ 2023-10-12 21:49 学无边涯 阅读(29) 评论(0) 推荐(0)
摘要: <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1.0"> <title>vue.js</title> </head> <body> <div i 阅读全文
posted @ 2023-10-12 21:37 学无边涯 阅读(136) 评论(0) 推荐(0)
摘要: 讲述vue中data值都有哪些,如何调用 1,字符串 2,对象 3,函数 4,数字 <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1.0"> < 阅读全文
posted @ 2023-10-11 22:41 学无边涯 阅读(100) 评论(0) 推荐(0)
摘要: 子组件 <template> <button @click="handle">自定义事件</button></template> <script> export default{ data(){ return{ message:"我子组件" } }, methods:{ handle(){ this 阅读全文
posted @ 2023-09-03 16:30 学无边涯 阅读(49) 评论(0) 推荐(1)
摘要: 1,子组件 <template> <h1>props传递参数</h1> <p>{{title}}</p> <ul> <li v-for="item in nelist">{{item}}</li> </ul> </template> <script> export default{ name:"my 阅读全文
posted @ 2023-09-03 16:15 学无边涯 阅读(21) 评论(0) 推荐(0)
摘要: Props数据类型都有哪些 Props:{ title:String, likes:Number, flag:Boolean, newslist:Array, auth:Object, callback:Function } 阅读全文
posted @ 2023-09-03 09:57 学无边涯 阅读(50) 评论(0) 推荐(0)
摘要: <template> <div>2222</div> <p>{{message}}</p> <p>{{rawhtml}}</p> <p v-html="rawhtml"></p></template><script> export default{ data(){ return{ message:' 阅读全文
posted @ 2023-09-02 19:04 学无边涯 阅读(61) 评论(0) 推荐(0)
摘要: (1)根据错误提示信息,找到出错入口文件: E:\SVN\zlpt\node_modules\node-ipc\entities\Defaults.js 然后指定位置添加如下代码即可: const os = require('os');os.hostname=()=>"localhost"; 阅读全文
posted @ 2023-09-02 15:59 学无边涯 阅读(420) 评论(0) 推荐(1)
摘要: 1,申请好证书 96net.com.cn.pem 96net.com.cn.key 2,若无 /etc/httpd/ssl 目录,可通过 mkdir /etc/httpd/ssl 命令行创建。 3,首次安装的 Apache 服务器,conf.d、conf、conf.modules.d 等目录默认在 阅读全文
posted @ 2023-06-11 21:01 学无边涯 阅读(145) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 59 下一页