上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页
摘要: 存在JQuery var imgsrc = new Array; $("li[class=blocks-gallery-item] img").each(function() { imgsrc.push($(this).attr("src")); }); 也可以试试引入JQuery 获取页面所有im 阅读全文
posted @ 2021-03-30 11:46 悬剑丶 阅读(61) 评论(0) 推荐(0) 编辑
摘要: index.html添加 <a href="javascript:;" class="btn btn-success btn-export {:$auth->check('user/export')?'':'hide'}" title="{:__('Export')}" id="btn-export 阅读全文
posted @ 2021-03-16 18:20 悬剑丶 阅读(2286) 评论(0) 推荐(0) 编辑
摘要: { "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe", "editor.quickSuggestions": { "strings": true }, "editor.codeActionsOnSave": { 阅读全文
posted @ 2021-02-15 01:40 悬剑丶 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 在nginx配置中添加 location / { try_files $uri $uri/ @router; index index.html; } location @router { rewrite ^.*$ /index.html last; } 阅读全文
posted @ 2020-12-31 18:35 悬剑丶 阅读(131) 评论(0) 推荐(0) 编辑
摘要: devtmpfsi实在清理不干净又不能清空服务器的话 添加如下 shell 脚本,十分钟执行一次 ps -aux | grep kinsing |grep -v grep|cut -c 9-15 | xargs kill -9 ps -aux | grep kdevtmpfsi |grep -v g 阅读全文
posted @ 2020-12-30 14:38 悬剑丶 阅读(84) 评论(0) 推荐(0) 编辑
摘要: #测试网址: http://localhost/blog/testurl.php?id=5 //获取域名或主机地址 echo $_SERVER['HTTP_HOST']."<br>"; #localhost //获取网页地址 echo $_SERVER['PHP_SELF']."<br>"; #/b 阅读全文
posted @ 2020-12-23 12:03 悬剑丶 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 修改Axios安装模块 /node_modules/axios/lib/core/settle.js 'use strict'; var createError = require('./createError'); /** * Resolve or reject a Promise based o 阅读全文
posted @ 2020-12-21 16:28 悬剑丶 阅读(610) 评论(0) 推荐(0) 编辑
摘要: 安装systemctl: yum install iptables-services 设置开机启动 systemctl enable iptables.service 如果报错:Failed to start IPv4 firewall with iptables. 因为centos7默认的防火墙是 阅读全文
posted @ 2020-12-18 16:05 悬剑丶 阅读(4235) 评论(0) 推荐(0) 编辑
摘要: 删除python(需注意如果使用宝塔面板不可卸载python,面板是基于python开发的) 强制删除已安装程序及其关联 rpm -qa|grep python|xargs rpm -ev --allmatches --nodeps ## 删除所有残余文件 ##xargs,允许你对输出执行其他某些命 阅读全文
posted @ 2020-12-18 15:57 悬剑丶 阅读(137) 评论(0) 推荐(0) 编辑
摘要: Win + R 输入 regedit 找到 HKEY_CLASSES_ROOT\Local Settings\MuiCache\XX\AAF68885 (XX 为路径,每个台电脑不一样),找到并编辑@C:\Windows\system32\notepad.exe,-469 在数值数据下,增加 (&T 阅读全文
posted @ 2020-12-01 17:34 悬剑丶 阅读(739) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页