匠心不改,精益求精!
[ 登陆 - 注册 ]

相关分类

欢迎 小蝌蚪加大 的加入!

文件位置:/vendor/topthink/framework/src/think/middleware/AllowCrossDomain.php添加sign参数

例在index 注册路由app/index/route/app.phpRoute::get('index', 'index/index');如果在,注册的路由是有效的/route/app.phpRoute::get('index', 'index/index');解决办法在,绑定对应域

1 composer安装 tp6composer create-project topthink/think tp2 安装多应用composer require topthink/think-multi-app3 重命名exaple.env 为 .e

1状态管理ps:状态管理事实上就是一个容器,可以存储一些常用的变量和函数,有数据持久化的特性import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) c

async 异步请求意思不阻碍其它代码继续往下执行async function timeout() { return 'hello word'; } console.log(timeout()); console.log('虽然在后面,但是我先执行');可以看到

两种函数对this的解释是不同的。箭头函数() => {} 的this与父函数相同,function() {} 的this是自身的

<style>         // 谷歌         input::-webkit-input-placeholder{    &nbs

html<div class="baiduMap"> <div id="map" style="border:1px solid #eee;height:600px;"></di

实现原理:页面一打开显示loading图标,当页面加载完时,触发 completeLoading 函数,js隐藏loading图标<style type="text/css"> #loading{     position:

主要实现代码<?php namespace tool\emai; use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; class Email {  

//保留textarea格式 //$str 文本字符串 function textPre($str){ $str = str_replace("\r\n",'<br/>',$str); $str = str_replace("&n

修改3个位置第一个\ueditor1.4.3.3\dialogs\image\image.js在722行左右,可搜索 _this.imageList.push(json); _this.imageList.push(json); 改成_this.imageList[$file.index()] = json;第2个778行左右,

第一种$("<img/>") // Make in memory copy of image to avoid css issues  在内存中创建一个img标记   &nbs

https://photoswipe.com/styling/html直接调用<!DOCTYPE html> <html>   <head>     <title>Test Galler

<!DOCTYPE HTML> <html> <head>   <meta charset="UTF-8">   <title>商品SKU选择DEMO</title&

示例1:求两个数组笛卡尔积假如有两个数组,求笛卡尔积,其基本思路是这样的:在遍历一个数组的同时,遍历另一个数组,然后把元素拼接,放到新数组。      /*方式一:两个数组求笛卡尔积*/         var&nbs

头部增加<meta name="format-detection" content="telephone=no" />禁止识别手机号<meta name="format-detection" content="telephone=no"&nb

配置文件路径指定runtime文件夹里的文件都不上传

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+SC:100,300,400,500,700,900" />在需要引用的地方font-family: &quo

https://notepad-plus-plus.org/ githubhttps://github.com/notepad-plus-plus/notepad-plus-plus/releases