上一页 1 2 3 4 5 6 7 ··· 37 下一页

2024年1月17日

摘要: 获取当前路由信息 use app\BaseController; // 引入控制器 public function index() { // 返回当前实际路径 return $this->app->getAppPath(); // 返回当前方法名 // return $this->request-> 阅读全文
posted @ 2024-01-17 22:19 完美前端 阅读(46) 评论(0) 推荐(0) 编辑
摘要: thinkphp 服务器环境找不到路由 按照tp官方文档的url重写部份,按照文档设置,不同的是把public下面的.htaccess文件的 RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] 改为 RewriteRule ^(.*)$ index.php [L,E 阅读全文
posted @ 2024-01-17 19:09 完美前端 阅读(246) 评论(0) 推荐(0) 编辑

2024年1月16日

摘要: 阅读全文
posted @ 2024-01-16 21:54 完美前端 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 找到php版本文件夹下面的 php.ini 文件,开启如下字段: zend_extension=opcache 修改如下字段: [opcache] ; Determines if Zend OPCache is enabled opcache.enable=1 ; Determines if Zen 阅读全文
posted @ 2024-01-16 21:10 完美前端 阅读(55) 评论(0) 推荐(0) 编辑

2024年1月8日

摘要: https://html2canvas.hertzen.com/npm install --save html2canvasyarn add html2canvas<!--h5和app中截图页面保存--><script setup>import { ref } from 'vue'import { 阅读全文
posted @ 2024-01-08 04:28 完美前端 阅读(294) 评论(0) 推荐(0) 编辑

2023年12月15日

摘要: 其实我也是最近遇到这个问题,我发现 0.000000001 这样的数字会被转成科学计数法 1e-8类似这样的,但是小数点前面要是有一个非0的数字就不会自动转了,所以我是这么搞的,测试了常见的浏览器没有啥问题: let num = 0.00000001; let result = String(num 阅读全文
posted @ 2023-12-15 21:18 完美前端 阅读(91) 评论(0) 推荐(0) 编辑

2023年12月10日

摘要: // 投注信息弹窗 内容组件上 @touchmove.stop.prevent="() => {}" u-popup :show="show" @close="show= false" @open="open" component @touchmove.stop.prevent="() => {}" 阅读全文
posted @ 2023-12-10 13:38 完美前端 阅读(84) 评论(0) 推荐(0) 编辑

2023年11月28日

摘要: import App from './App.vue' import * as Pinia from 'pinia'; import { createSSRApp } from 'vue' export function createApp() { const app = createSSRApp( 阅读全文
posted @ 2023-11-28 21:16 完美前端 阅读(58) 评论(0) 推荐(0) 编辑

2023年9月22日

摘要: 原生导航设置buttons时候监听点击事件 { "path": "pages/user/uses", "style": { "app-plus": { "bounce": "none", "titleNView": { "buttons": [ {"text": "分享"}, {"text": "分 阅读全文
posted @ 2023-09-22 03:34 完美前端 阅读(244) 评论(0) 推荐(0) 编辑

2023年9月14日

摘要: 1. navigation - 页面性能 这个 entryType 提供了与页面导航相关的性能度量。它可以告诉我们页面从开始加载到完全加载的整个过程中发生了什么。通过这些数据,我们可以了解到例如DNS解析时间、TCP握手时间、页面响应时间、页面下载时间等。 应用场景: 当用户访问你的网站时,你可以使 阅读全文
posted @ 2023-09-14 04:44 完美前端 阅读(151) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 37 下一页

导航