斯皮格尔运河上的灯光装饰, 阿姆斯特丹, 荷兰 (© Amith Nag Photography/Getty Images)

Welcom to 评论 - lizhenqiu blog!

    #172

    作者:广西南宁市
    copyInnerTextOfCell = (event) => { let innerText = event.target.innerText; var tmpInput = document.createElement("input"); document.body.appendChild(tmpInput); tmpInput.value = innerText; tmpInput.select(); document.execCommand("cut"); // copy tmpInput.remove(); alert("复制成功!" + innerText); }
    Run code
    Cut to clipboard
      文章:微信小程序js时间格式  发表时间:2022-07-29, 11:24:05  
      展开↯

      #173

      作者:广西南宁市
      小程序手动让input获取焦点并弹出键盘

      小程序的input有一个focus属性,如果focus="true",则进入页面的时候会自动获取焦点,但这不是我们想要的效果。
      我们需要在特定的操作后,在不手动点击input的情况下,使相应的input获取焦点。

      一、解决方案
      这里我们需要把focus的值设置为动态参数
      <input class="input-code" focus="{{focus}}"></input>
      在需要的地方将focus设置为true即可
      handleInputFocus() {
      this.setData({
      focus: true
      })
      }
      #,广西南宁市,2022-07-29,11:23:07, 鼠标点击input框时,全选input框内所有内容
      onfocus="this.select();"
      Run code
      Cut to clipboard

        <input type="text" id="txt" class="search-input" placeholder="搜索一下" onfocus="this.select();">
        Run code
        Cut to clipboard
          文章:微信小程序js时间格式  发表时间:2022-07-29, 09:35:23  
          展开↯

          #174

          作者:广西南宁市
          ThinkPHP6单文件上传封装
          <?php /** *公共文件上传 * User: Hm * Date: 2020/9/16 * Email: <2938039696@qq.com> **/ declare (strict_types = 1); namespace app\union\controller; use think\exception\ValidateException; class Upload extends Base { /* * 单文件上传 * */ public function uploadImg(){ //判断是否是POST请求,如果是处理上传逻辑 if (request()->isPost()){ //接收文件上传目录 $namePath = request()->param('type'); //获取表单上传文件 $file = request()->file('file'); $upload_dir = '/'.$namePath; //组装文件保存目录 $suffix='jpg,jpeg,png,gif'; //文件格式 $size='3'; //文件大小 try { //验证器验证上传的文件 validate(['file'=>[ //限制文件大小 'fileSize' => $size * 1024 * 1024, //限制文件后缀 'fileExt' => 'jpg,jpeg,png,gif' ]],[ 'file.fileSize' => '上传的文件大小不能超过'.$size.'M', 'file.fileExt' => '请上传后缀为:'.$suffix.'的文件' ])->check(['file'=>$file]); //上传文件到本地服务器 $filename = \think\facade\Filesystem::disk('public')->putFile($upload_dir, $file); ; if ($filename){ $src = '/uploads/'.str_replace('\\', '/', $filename); return json(['code'=>1,'msg'=>'上传成功','data'=>['src'=>$src]]); }else{ return json(['code'=>0,'msg'=>'上传失败']); } }catch (ValidateException $e){ return json(['code'=>0,'msg'=>$e->getMessage()]); } }else{ return json(['code'=>0,'msg'=>'非法请求']); } } } ?>
          Run code
          Cut to clipboard
            文章:ThinkPHP6 公共 上传到本地  发表时间:2022-07-29, 11:21:46  
            展开↯

            #175

            作者:广西南宁市
            windows添加开机启动项
            添加开机启动项(通过注册表)

            例子:增加QQ开机启动项
            第一步:找到注册表的启动项位置:HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun主键
            第二步:在另边点击右键:新建“字符串值”,取名“QQ”
            第三步:找到你所要增加启动项的软件目录:
            如我的QQ是目录是:D:Program FilesTencentQQqq.exe
            第三步:双击你刚新建军的"qq"字符串值项,即:
            编辑字符串数值数据:将第三步找到的软件目录复制到下面图的“数值数据栏内”
            确定后,关闭注册表,OK,你的XP系统启动项设置成功了

            更方便的方式
            (快捷方式程序文件,如:eclipse.exe快捷方式)
            点开始菜单-程序-启动。点右键打开启动。然后把你想开机启动的项添加进去就OK了~
            查看是否成功,cmdmsconfig启动项 查看!!!

            P.S.
            1.Run键
              Run键是病毒最青睐的自启动之所,该键位置是[HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersionRun]和[HKEY_LOCAL_MACHINESoftwareMicrosoftWindows CurrentVersionRun],其下的所有程序在每次启动登录时都会按顺序自动执行。

              还有一个不被注意的Run键,位于注册表[HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersionPoliciesExplorerRun]和[HKEY_LOCAL_MACHINESOFTWARE MicrosoftWindowsCurrentVersionPoliciesExplorerRun],也要仔细查看。

            2.RunOnce键
              RunOnce位于[HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersionRunOnce]和[HKEY_LOCAL_MACHINESoftwareMicrosoftWindows CurrentVersionRunOnce]键,与Run不同的是,RunOnce下的程序仅会被自动执行一次。

            3.RunServicesOnce键
              RunServicesOnce键位于[HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersionRunServicesOnce]和[HKEY_LOCAL_MACHINESoftwareMicrosoft WindowsCurrentVersionRunServicesOnce]下,其中的程序会在系统加载时自动启动执行一次

            网页摘取.
            添加启动项最简单的是 点击开始 -> 程序 -> 启动,对启动按右键打开,把要启动的程序拖放在打开的启动窗口里。这样就完成了。

            下面在介绍两种方法:

            一、在登录脚本里添加启动项

            先创建一个脚本文件,如内容为"notepad 你要打开的文件.txt",保存为扩展名为bat的文件;运行“gpedit.msc”,在组策略窗口中展开“计算机配置”/“Windows设置”,选中“脚本(启动/关机)”。双击右边的“启动”打开属性对话框,点击“添加”按钮,再点“浏览”按钮,在打开的对话框中点击右键,将前面创建的脚本文件粘贴进去并选中它,点“打开”,返回后点两次确定关闭对话框。再关闭组策略窗口。

            二、用注册表添加启动项
            1.例如我要把c:windowsaidu.bat加进启动项,如下:
            @echo off
            echo REGEDIT4>x.reg
            echo.
            echo [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersion un]>>x.reg
            echo "bat"="C:\windows\baidu.bat">>x.reg
            regedit /s x.reg &del x.reg
            上面的文件名和路径根据你自身情况修改下就OK

            2.假设要添加进启动项的程序为C:TencentQQ.exe

            @echo off
            echo REGEDIT4>x.reg
            echo.
            echo [HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersion un]>>x.reg
            echo "QQStart"="C:\Tencent\QQ.exe">>x.reg
            regedit /s x.reg &del x.reg

            上面一句等号两边的引号都不能丢掉,QQStart可以随便写.

            3.假如把c:1.bat注册表。开机让他启动!
            reg add HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun /v lin /t REG_SZ /d C:1.bat /f

            lin是代表1.bat的名字,名字可以随便起的.
            文章:cmd下添加删除启动项  发表时间:2022-07-29, 10:24:59  
            展开↯

            #176

            作者:广西南宁市
            支付宝支付宝报错sign check fail
            支付宝支付宝报错sign check fail: check Sign and Data Fail
            想不通,商户密钥商户公钥都是正确的。
            支付宝公钥是下载的demo里面本来就有的,原本以为这个是一样的,不需要改,后来在支付宝后台重新复制的支付宝公钥,就成功了。
            总结:遇到这种问题一般都是配置文件里面的参数问题
            文章:TP6 where is null写法  发表时间:2022-07-29, 10:04:19  
            展开↯

            #177

            作者:广西南宁市
            支付宝SDK报错 invalid [default store dir]: /tmp/
            这个错误主要是出现在windows上面,因为路径错误而导致的。

            解决方法是在SDk里新建一个tmp文件夹,然后打开AopSdkl.php将18行中的【define("AOP_SDK_WORK_DIR", "/tmp/");】
            修改为以下代码:
            define("AOP_SDK_WORK_DIR", dirname(__FILE__) . "/tmp/");
            Run code
            Cut to clipboard
              文章:TP6 where is null写法  发表时间:2022-07-29, 10:02:55  
              展开↯

              #178

              作者:广西南宁市
              tp thinkphp tp6 引用文件 extend
              $root_path = \think\facade\App::getRootPath(); require_once $root_path . 'extend/Wxpay/WxPay.Config.php';
              Run code
              Cut to clipboard
                文章:php获得汉字拼音首字母  发表时间:2022-07-29, 09:37:09  
                展开↯

                #179

                作者:广西南宁市
                tp6 汉字转拼音
                下载拓展文件,放在extend目录下

                控制器中使用
                引入拓展文件:use topinyin\ChinesePinyin;
                public function indexOp() { $Pinyin = new ChinesePinyin(); //带声调的汉语拼音 echo '我们的歌'; dump($Pinyin->TransformWithTone("我们的歌")); //无声调的汉语拼音 echo '我们的歌'; dump($Pinyin->TransformWithoutTone("我们的歌")); //转成汉语拼音首字母,只包括汉字,不包含拼音 echo '首字母只包括汉字BuHanPinYin'; dump($Pinyin->TransformUcwordsOnlyChar("首字母只包括汉字BuHanPinYin")); //转成汉语拼音首字母,包含非汉字内容 echo '首字母和其他字符如B区32号'; dump($Pinyin->TransformUcwords("首字母和其他字符如B区32号")); }
                Run code
                Cut to clipboard

                  文章:php获得汉字拼音首字母  发表时间:2022-07-29, 09:24:00  
                  展开↯

                  #180

                  作者:广西南宁市
                  php 获取中文字符拼音首字母
                  //php获取中文字符拼音首字母 function getFirstCharter($str){ if(empty($str)){return '';} $fchar=ord($str{0}); if($fchar>=ord('A')&&$fchar<=ord('z')) return strtoupper($str{0}); $s1=iconv('UTF-8','gb2312',$str); $s2=iconv('gb2312','UTF-8',$s1); $s=$s2==$str?$s1:$str; $asc=ord($s{0})*256+ord($s{1})-65536; if($asc>=-20319&&$asc<=-20284) return 'A'; if($asc>=-20283&&$asc<=-19776) return 'B'; if($asc>=-19775&&$asc<=-19219) return 'C'; if($asc>=-19218&&$asc<=-18711) return 'D'; if($asc>=-18710&&$asc<=-18527) return 'E'; if($asc>=-18526&&$asc<=-18240) return 'F'; if($asc>=-18239&&$asc<=-17923) return 'G'; if($asc>=-17922&&$asc<=-17418) return 'H'; if($asc>=-17417&&$asc<=-16475) return 'J'; if($asc>=-16474&&$asc<=-16213) return 'K'; if($asc>=-16212&&$asc<=-15641) return 'L'; if($asc>=-15640&&$asc<=-15166) return 'M'; if($asc>=-15165&&$asc<=-14923) return 'N'; if($asc>=-14922&&$asc<=-14915) return 'O'; if($asc>=-14914&&$asc<=-14631) return 'P'; if($asc>=-14630&&$asc<=-14150) return 'Q'; if($asc>=-14149&&$asc<=-14091) return 'R'; if($asc>=-14090&&$asc<=-13319) return 'S'; if($asc>=-13318&&$asc<=-12839) return 'T'; if($asc>=-12838&&$asc<=-12557) return 'W'; if($asc>=-12556&&$asc<=-11848) return 'X'; if($asc>=-11847&&$asc<=-11056) return 'Y'; if($asc>=-11055&&$asc<=-10247) return 'Z'; return null; } echo getFirstCharter('张');
                  Run code
                  Cut to clipboard
                    文章:php获得汉字拼音首字母  发表时间:2022-07-29, 09:19:15  
                    展开↯

                    #181

                    作者:广西南宁市
                    // 监听按键 var code = '' var lastTime, nextTime // 上次时间、最新时间 var lastCode, nextCode // 上次按键、最新按键 document.onkeypress = (e) => { // 获取按键 if (window.event) { // IE nextCode = e.keyCode } else if (e.which) { // Netscape/Firefox/Opera nextCode = e.which } // 如果触发了回车事件(扫码结束时间) if (nextCode === 13) { if (code.length < 3) return // 手动输入的时间不会让code的长度大于2,所以这里只会对扫码枪有 this.codeFind(code) // 获取到扫码枪输入的内容,做别的操作 code = '' lastCode = '' lastTime = '' return } nextTime = new Date().getTime() // 记录最新时间 if (!lastTime && !lastCode) { // 如果上次时间和上次按键为空 code += e.key // 执行叠加操作 } // 如果有上次时间及上次按键 if (lastCode && lastTime && nextTime - lastTime > 30) { // 当扫码前有keypress事件时,防止首字缺失 code = e.key } else if (lastCode && lastTime) { code += e.key } lastCode = nextCode lastTime = nextTime }
                    Run code
                    Cut to clipboard
                      文章:js监听页面扫码枪  发表时间:2022-07-26, 17:27:15  
                      展开↯

                      #182

                      作者:广西南宁市
                      vue使用扫码枪,全局监听

                      全局监听扫码枪的扫码数据
                      在 src 下新建文件 scanCode.js,并在 main.js 引入即可

                      scanCode.js
                      import store from './store' function scanCode() { let str = '' document.onkeydown = function() { if (event.target.tagName !== 'BODY') { str = '' } else { if (event.keyCode !== 13) { if (event.keyCode >= 32 && event.keyCode <= 126) { let k = event.key str += k } } else { if (str) { store.commit('scanCode/SET_SCANSTRING', str) } str = '' } } } } export default scanCode()
                      Run code
                      Cut to clipboard


                        main.js
                        import Vue from 'vue' import App from './App' import store from './store' import router from './router' import './scanCode' // 扫码 Vue.config.productionTip = false new Vue({ el: '#app', router, store, render: h => h(App) })
                        Run code
                        Cut to clipboard


                          增加扫码的vuex
                          在modules中新建文件scanCode.js,并在getters.js中增加scanString: state => state.scanCode.scanString
                          export default { namespaced: true, state: { // 扫码的值 scanString: '' }, mutations: { SET_SCANSTRING: (state, scanString) => { state.scanString = scanString } } }
                          Run code
                          Cut to clipboard


                            监听vuex中scanString的变化
                            export default { computed: { scanString() { return this.$store.getters.scanString } }, watch: { scanString(s) { if (s) { setTimeout(() => { // 触发事件 你要做的事 alert(s) // 执行结束后重复为空 this.$store.commit('scanCode/SET_SCANSTRING', '') }, 100) } } } }
                            Run code
                            Cut to clipboard
                              文章:js监听页面扫码枪  发表时间:2022-07-26, 17:26:46  
                              展开↯

                              #183

                              作者:广西南宁市
                              <script> export default { data() { return { } }, mounted() { // 监听按键 var code = '' var lastTime, nextTime // 上次时间、最新时间 var lastCode, nextCode // 上次按键、最新按键 document.onkeypress = (e) => { // 获取按键 if (window.event) { // IE nextCode = e.keyCode } else if (e.which) { // Netscape/Firefox/Opera nextCode = e.which } // 如果触发了回车事件(扫码结束时间) if (nextCode === 13) { if (code.length < 3) return // 手动输入的时间不会让code的长度大于2,所以这里只会对扫码枪有 this.codeFind(code) // 获取到扫码枪输入的内容,做别的操作 code = '' lastCode = '' lastTime = '' return } nextTime = new Date().getTime() // 记录最新时间 if (!lastTime && !lastCode) { // 如果上次时间和上次按键为空 code += e.key // 执行叠加操作 } // 如果有上次时间及上次按键 if (lastCode && lastTime && nextTime - lastTime > 30) { // 当扫码前有keypress事件时,防止首字缺失 code = e.key } else if (lastCode && lastTime) { code += e.key } lastCode = nextCode lastTime = nextTime } }, methods: { // 业务逻辑根据项目更改 codeFind(code) { if ([123456, 789101].indexOf(code) >= 0) { alert('code已经存在') } } } } </script>
                              Run code
                              Cut to clipboard
                                文章:js监听页面扫码枪  发表时间:2022-07-26, 17:24:58  
                                展开↯

                                #184

                                作者:广西南宁市
                                //监听扫码枪 function ListenScanCodeGun() { var barCode = ''; var lastTime = 0; function ClearBarCode() { barCode = ''; lastTime = 0; } window.addEventListener('keypress', function (e) { console.log("监听开始"); e = e || window.event; var currCode = e.keyCode || e.which || e.charCode; var currTime = new Date().getTime(); if (lastTime > 0) { if (currTime - lastTime <= 100) { barCode += String.fromCharCode(currCode); } else if (currTime - lastTime > 500) { // 输入间隔500毫秒清空 ClearBarCode(); } } else // 第一次按键 { barCode = String.fromCharCode(currCode); } lastTime = currTime; if (currCode == 13) // 回车 { if (barCode && barCode.length >= 8) { // 这里得到码,做下一步业务处理 console.log("最终编号:" + barCode); } // 回车输入后清空 ClearBarCode(); } }); }
                                Run code
                                Cut to clipboard
                                  文章:js监听页面扫码枪  发表时间:2022-07-26, 17:24:28  
                                  展开↯

                                  #185

                                  作者:广西南宁市
                                  openCodeListDialog(row) { console.log(row) this.$refs.codeList.open(row) }, /* 监听输入 判断通过isScan判断 */ inputCode(v) { console.log(v) if (this.isScan) return; this.code = v }, //处理扫码枪获取的数据 dealScan(code) { this.isScan = false this.sourceCode = code.substring(code.length - 12);//取出后12位 }, scanCode() { console.log(1) let lastTime = null; let nextTime = null; let code = ''; let timer = '' //监听数据录入 通过判断输入数据的速度来判读是手动输入还是扫码枪录入, //这里有一个问题 当用户同时按下两个按键或者故意以高速录入数据时也会被判定为扫码枪输入 document.onkeydown = e => { console.log(e) let keycode = e.keyCode || e.which || e.charCode; nextTime = new Date(); if (keycode === 13) { if (lastTime && (nextTime - lastTime < 30)) { // 扫码枪 this.dealScan(code) } else { // 键盘 console.log('键盘输入') } code = ''; lastTime = null; e.preventDefault(); } else { if (!lastTime) { code = String.fromCharCode(keycode); } else { if (nextTime - lastTime < 30) { code += String.fromCharCode(keycode); item.isScan = true } else { code = ''; item.isScan = false } } lastTime = nextTime; } //添加定时器 防止用户输入过快导致的误判 timer = setTimeout(_ => { clearTimeout(timer) this.isScan = false }, 100) }; },
                                  Run code
                                  Cut to clipboard
                                    文章:js监听页面扫码枪  发表时间:2022-07-26, 17:24:02  
                                    展开↯

                                    #186

                                    作者:广西南宁市
                                    代码实现
                                    <?php declare (strict_types = 1); namespace app\union\controller; use app\Request; use app\union\model\Groups; use think\facade\Cookie; use think\facade\Db; use think\facade\View; use PHPExcel_IOFactory; //通过composer加载的第三方类,直接在头部引入一下就可以 class Group extends Base { public function import_save(Request $request){ if(!$request->param('excel')){ return returnJson('500','请上传excel文件'); } $path = public_path().$request->param('excel'); //实例化PHPExcel类 $PHPExcel = new \PHPExcel(); //默认用excel2007读取excel,若格式不对,则用之前的版本进行读取 $PHPReader = new \PHPExcel_Reader_Excel2007(); if (!$PHPReader->canRead($path)) { $PHPReader = new \PHPExcel_Reader_Excel5(); if (!$PHPReader->canRead($path)) { return returnJson('500','请上传excel文件'); } } //读取Excel文件 $PHPExcel = $PHPReader->load($path); //读取excel文件中的第一个工作表 $sheet = $PHPExcel->getSheet(0); //取得最大的列号 $allColumn = $sheet->getHighestColumn(); //取得最大的行号 $allRow = $sheet->getHighestRow(); //从第二行开始插入,第一行是列名 for ($currentRow = 2; $currentRow <= $allRow; $currentRow++) { //获取B列的值 $data = [ 'number'=>$PHPExcel->getActiveSheet()->getCell("A" . $currentRow)->getValue(), 'nickName'=>$PHPExcel->getActiveSheet()->getCell("B" . $currentRow)->getValue(), 'name'=>$PHPExcel->getActiveSheet()->getCell("C" . $currentRow)->getValue(), 'tel'=>$PHPExcel->getActiveSheet()->getCell("D" . $currentRow)->getValue(), 'money'=>$PHPExcel->getActiveSheet()->getCell("E" . $currentRow)->getValue(), 'time'=>self::get_date_by_excel($PHPExcel->getActiveSheet()->getCell("F" . $currentRow)->getValue()), 'is_pay'=>$PHPExcel->getActiveSheet()->getCell("G" . $currentRow)->getValue(), 'shop_name'=>$PHPExcel->getActiveSheet()->getCell("H" . $currentRow)->getValue(), 'remarks'=>$PHPExcel->getActiveSheet()->getCell("I" . $currentRow)->getValue(), 'status'=>0, 'created_at'=>date('Y-m-d') ]; if($data['number'] == ''){ $result = 1; continue; }else{ $find = Groups::where(array('number'=>$data['number']))->find(); if($find){ $result = 1; continue; }else{ $result=Db::name('group')->insert($data); } } } if($result){ return returnJson('200','导入成功'); }else{ return returnJson('500','导入失败'); } } public static function get_date_by_excel($date){ if (!$date || $date == '0000-00-00') return null; $unix_time = \PHPExcel_Shared_Date::ExcelToPHP($date); return gmdate('Y-m-d H:i',$unix_time); } } ?>
                                    Run code
                                    Cut to clipboard
                                      文章:tp6安装、封装phpspreadsheet,表格excel导入导出  发表时间:2022-07-26, 09:34:55  
                                      展开↯

                                      #187

                                      作者:广西南宁市
                                      文章:@意见反馈/技术支持/伊网/安企网  发表时间:2022-07-13, 17:59:49  
                                      展开↯

                                      #188

                                      作者:广西南宁市
                                      电脑的显示器和主机连接的那条线叫什么

                                      有VGA,也有DVI,还有HDMI
                                      VGA蓝色的接口。
                                      DVI是白色的接口。
                                      HDMI有点像USB接口,
                                      #,广西南宁市,2018-11-19,17:26:37,
                                      #,广西南宁市,2018-11-19,17:27:14,
                                      #,广西南宁市,2021-09-19,09:15:20, http://www.pixiv.net/member_illust.php?mode=medium&illust_id=92459511
                                      #,广西南宁市,2021-09-19,09:27:23,@3, https://www.messynessychic.com/2014/03/05/the-first-monokini-trying-to-make-the-topless-swimsuit-happen-in-1964/
                                      #,广西南宁市,2021-09-28,15:45:58, 童年游戏
                                      https://www.yikm.net/
                                      https://flash.zczc.cz/
                                      #,广西南宁市,2021-09-28,17:39:46,
                                      #,广西-南宁-中国电信,2021-11-22,00:41:33, proumb
                                      cum4k.com
                                      #,广西-南宁-中国电信,2021-11-22,00:43:09, https://meanporn.com/
                                      #,广西-南宁-中国电信,2021-11-22,00:45:30, https://www.bangingreviews.com/category/videos/
                                      #,广西-南宁-中国电信,2021-11-22,00:58:12, http://www.hlshenzhou.com/
                                      #,广西-南宁-中国电信,2021-11-22,01:06:16, https://xf.002xf.com/play/1125/3/1.html
                                      https://en.kin8tengoku.com/moviepages/3481/index.html
                                      #,广西南宁市,2021-11-22,16:36:37, vpn梯子 SuperfastVPN
                                      #,广西南宁市,2021-11-24,02:07:07, https://mbltt.com/
                                      #,广西-南宁-中国电信,2021-11-24,02:17:28, https://www.veryfreeporn.com/sites/
                                      #,广西-南宁-中国电信,2021-11-25,01:01:10, http://bigbustyboobs.net/index.php?page=3
                                      #,广西南宁市,2021-11-25,20:00:01, chinesebae.tumblr.com
                                      #,广西南宁市,2021-11-25,21:05:43, [PrivateCasting-X / DirtyFlix] - Vegas Teeny Fake Casting Fuck - Danni Rivers
                                      #,广西南宁市,2021-11-25,21:06:21,@17, http://www.privatecasting.net/
                                      https://www.privatecasting-x.com/
                                      #,亚太地区,2021-11-26,00:28:57,@17, https://www.gotporn.com/private-casting-x---music-vid-wannabe-gets-fucked/video-4790013
                                      #,广西南宁市,2021-11-27,11:40:16, pornhub.com
                                      brazzers.com
                                      bang.com
                                      xnxx.com
                                      tube8.com
                                      redtube.com
                                      youjizz.com
                                      youporn.com
                                      pornpies.com
                                      watchmygf.com
                                      ikonwthatgirl.com
                                      xvideos.com
                                      xhamster.com
                                      apetube.com
                                      happyporn.com
                                      realitykings.com
                                      miakhalifa.com
                                      momsteachsex.com
                                      18andabused.com
                                      chatterbate.io chatterbate.com
                                      wetpussy.com
                                      teenpornvideo.sex
                                      pornmajor.
                                      fakeporn.tv
                                      http://jable.tv/
                                      #,广西-南宁-中国电信,2021-12-11,00:00:18, http://www.cm404.com/
                                      #,IANA,2021-12-19,01:45:33, http://www.cm529.com/list/index2.html
                                      #,171.104.222.57, 121.9.232.190-InvalidIpAddress,2021-12-30,10:58:05, [StepSiblingsCaught] Step Sibling Fall Classic - Aria Lee
                                      #,180.140.163.79, 121.9.232.179-InvalidIpAddress,2022-01-04,17:43:35, [REDLIGHT] オトナの絵本 赤ずきんちゃん(小红帽)汉化
                                      [FOW-012][3DCG]Mila_Red_Riding_Hood
                                      #,116.252.135.227, 45.251.102.96-InvalidIpAddress,2022-01-10,15:35:59, 1pondo Asaka Sera 世良あさか 100221_001 濃厚な接吻と肉体の交わり 世良あさか
                                      #,116.252.135.227, 45.251.102.51-InvalidIpAddress,2022-01-10,15:48:33, 1pondo Nana Kamiyama 上山奈々 011621_001 まんチラの誘惑 〜和服姿のヤバい近所の奥さん〜
                                      #,广西南宁市,2022-06-11,11:23:08, http://www.choisuntea.com/index.html
                                      #,广西南宁市,2022-06-13,10:49:24, www.151py.com
                                      #,广西南宁市,2022-06-18,11:45:05,@28, www.117py.com
                                      #,广西南宁市,2022-06-18,12:14:08, http://www.zptianfeng.com/
                                      #,广西南宁市,2022-06-18,12:22:23, http://www.99riav111.com/
                                      #,广西南宁市,2022-06-18,12:49:43, http://99riav6.vip/
                                      #,广西南宁市,2022-06-23,08:28:13, https://spankbang.com/2jzrn/video/milo+moir+mirror+box+uncensored
                                      #,广西南宁市,2022-06-25,04:57:33,
                                      magnet:?xt=urn:btih:ea41f8333793e812b0b63e96caa2aebe06258ec3&dn=Fap%20Hero%20Torrent%20Collection&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce
                                      Run code
                                      Cut to clipboard
                                        #,广西南宁市青秀区,2022-07-05,01:49:35, www.315py.com
                                        #,广西南宁市,2022-07-13,08:33:46, 1桥本有腿2桃乃木香奈3天使萌?4美谷朱里5河北彩花6浜崎真绪?7三上悠亚8深田泳美9白桃花
                                        文章:程序员编程常用网页工具集[游戏]  发表时间:2016-10-12, 22:22:12  
                                        展开↯

                                        #189

                                        作者:广西南宁市
                                        报错’<template v-for>’ cannot be keyed. Place the key on real elements instead
                                        报错的使用场景
                                        在vue3的项目中,不免会遇到v-if和v-for一起使用,但我们知道,这两个是不可以一起使用的,v-for 具有比 v-if 更高的优先级,所以我们需要把v-for写到template中,但是控制台会提示:

                                        '<template v-for>' cannot be keyed. Place the key on real elements instead

                                        解决方法
                                        在 Vue 2中,<template> 标签不能拥有 key,不过,你可以为其每个子节点分别设置 key

                                        <template v-for="i in list">
                                        <div :key="'index-' + i.id"></div>
                                        </template>

                                        在 Vue 3 中,key 则应该被设置在 <template> 标签上

                                        <template v-for="(i, index) in list" :key="index">
                                        <div>...</div>
                                        <span>...</span>
                                        </template>

                                        但是我在使用的时候VScode总是一直报错冒红,但是程序是可以运行的,但总看着不舒服,可以尝试将:key="index"写在我们循环的节点上面,程序也是可以运行的。

                                        <template v-for="i in list">
                                        <div v-if="true" :key="item.id"></div>
                                        <span v-else></span>
                                        </template>

                                        按照官网说的key 则应该被设置在 <template> 标签上的话,可以修改.eslintrc.js的配置,在rules的规则上添加:

                                        'vue/no-v-for-template-key': 'off'

                                        或者将将template标签改为div等其他标签,这样的话会多出一个多余的div标签。
                                        文章:vue生命周期详解  发表时间:2022-06-30, 10:09:48  
                                        展开↯

                                        #190

                                        作者:广西南宁市
                                        Deprecated: Directive ‘track_errors‘ is deprecated in Unknown on line 0
                                        修改 php.ini track_errors=On 为 track_errors=Off 即可

                                        The Windows OneDrive folder is not supported on PHP versions below 7.2.23 an
                                        windows下安装composer

                                        Could not find package topthink/think-worker. It was however found via repos
                                        Composer更改为阿里的源
                                        composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
                                        Run code
                                        Cut to clipboard

                                          解除镜象
                                          composer config -g --unset repos.packagist
                                          Run code
                                          Cut to clipboard


                                            #,广西南宁市,2022-06-23,17:51:22,
                                            解决PHP Warning: Module 'mysqli' already loaded in Unknown on line 0

                                            原因:是PHP有两种方式添加扩展模块,一种是直接编译进了PHP,另外一种是通过共享模式添加模块,并在php.ini配置文件中配置相应的模块。以上问题出现的原因是我们需要的模块已经编译进PHP了,但是我们有通过共享模块再次加重了改模块,这样就导致重复加重。

                                            在php.ini中找到下面并注释
                                            ;extension=mysqli
                                            Run code
                                            Cut to clipboard


                                              使用php -m还是可以看到mysqli扩展的,并且不会再报刚才的错误
                                              文章:Thinkphp6配置使用Workerman WebSocket Socket  发表时间:2022-06-23, 17:50:23  
                                              展开↯
                                              你好,残忍屏蔽广告

                                              确定要清除编辑框内容吗?

                                              该删除操作将不可恢复。

                                              删除 取消

                                              激活Windows

                                              转到"设置"以激活Windows。