摘要: wordpress默认不带阅读量的,现在加上。在function.php加入代码 1、前端加入阅读量和点击量 //增加文章阅读次数 function record_visitors(){ if (is_singular()){ global $post; $post_ID = $post->ID; 阅读全文
posted @ 2024-03-07 10:28 郑州谷多软件 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 1、创建vite项目,安装electron,electron从23开始不支持win7,win8.1所以我用最后一个版本 pnpm create vite pnpm ADD -D electron@22.3.27 pnpm i vite-plugin-electron -D 2、创建electron的 阅读全文
posted @ 2023-11-09 20:49 郑州谷多软件 阅读(711) 评论(0) 推荐(0) 编辑
摘要: 1、配置国内electron 镜像 .npmrc electron_mirror=https://registry.npmmirror.com/-/binary/electron/ electron_builder_binaries_mirror=https://registry.npmmirror 阅读全文
posted @ 2023-11-08 18:25 郑州谷多软件 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 1、刚开始一直安装 vue-baidu-map,他适用于vue2,一直处于不识别_BMap 2改用:vue-baidu-map-3x 安装后配置main.ts import BaiduMap from "vue-baidu-map-3x"; app.use(BaiduMap, { // ak 是在百 阅读全文
posted @ 2023-08-10 17:25 郑州谷多软件 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 1、改变vue模式为history,小编没有试 2、通过配置nginx实现 A、替换跳转网址中的#为其他字符串,例如我的 const url = this._getUrl( "https://open.weixin.qq.com/connect/oauth2/authorize", { appid: 阅读全文
posted @ 2023-08-07 17:11 郑州谷多软件 阅读(783) 评论(0) 推荐(0) 编辑
摘要: <script src="https://cdn.bootcdn.net/ajax/libs/eruda/2.3.3/eruda.min.js"></script> <script>eruda.init()</script> <script src="https://unpkg.com/vconso 阅读全文
posted @ 2023-08-01 10:49 郑州谷多软件 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 1、Ubuntu(在线版) 导入公共存储库 GPG 密钥 wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc 第 1 步。首先,通过在终 阅读全文
posted @ 2023-07-07 17:58 郑州谷多软件 阅读(193) 评论(1) 推荐(0) 编辑
摘要: 1、下载堡塔远程工具,连接服务器 2、wget -O install.sh https://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh ed8484bec 安装宝塔 3、安装环境工具 4、检测有提权漏洞 查 阅读全文
posted @ 2023-06-22 18:17 郑州谷多软件 阅读(134) 评论(0) 推荐(0) 编辑
摘要: DB-Engines Ranking 会根据受欢迎程度对数据库管理系统进行排名,排名每月更新一次。 六月数据显示,对比上月排名,前十依旧保持不变,按顺序依次是:Oracle、MySQL、Microsoft SQL Server、PostgreSQL、MongoDB、Redis、IBM Db2、Ela 阅读全文
posted @ 2023-06-03 18:22 郑州谷多软件 阅读(8) 评论(0) 推荐(0) 编辑
摘要: add_filter( 'pre_option_link_manager_enabled', '__return_true' ); 在你用的那个主题的function.php里面添加下面这个东东,然后去后台就多了一个链接,你添加就行了啊 前台怎么调用呢?看的别人的,也可以添加图片,就是不能上传,只能 阅读全文
posted @ 2023-05-29 09:51 郑州谷多软件 阅读(7) 评论(0) 推荐(0) 编辑