当前位置:首页 > Z先生 第7页
Z先生

Z先生 管理员

来自陕西汉中的Z先生,专注于H5以及PHP开发。

185 篇文章 3 次评论

Composer的初步使用以及Composer切换国内源(阿里云)

Z先生5年前 (2021-04-09)后端2158
Composer安装(Windows系统)下载:https://getcomposer.org/Composer-Setup.exe一步步安装即可。需要注意的是你需要开启 openssl 配置,我们打…

v-charts(vue echarts)报import echarts from 'echarts/lib/echarts' is not supported anymore. Use错误的解决方案

Z先生5年前 (2021-03-19)前端2095
错误详情:import echarts from 'echarts/lib/echarts' is not supported anymore. Use "import *…

Ant Design table自定义复选框的默认不可选状态

Z先生6年前 (2021-02-23)前端1301
官网上的getCheckboxProps中的disabled的值是record.name==="XXX",我在用的过程中肯定是一个list,然后我就想用函数返回true或false…

更改mysql默认引擎MyISAM|InnoDB

Z先生6年前 (2020-12-23)My SQL1103
打开MySQL配置文件,Win下面默认是my.ini,Linux下面默认是my.conf[mysqld]下面加入(如果有则修改):default-storage-engine = …

人际关系十字决

Z先生6年前 (2020-12-21)随笔1144
一表人才两套西装三杯酒量四圈麻将五方交友六出祁山七术打马八口吹牛九分努力十分忍耐这十个成语是《中道管理》的作者曾仕强先生提出来的。1、一表人才;当然,长得帅的人永远要比长的磕碜的要受欢迎,但是长相这个…

问题: - did you register the component correctly......

Z先生6年前 (2020-12-19)前端1088
问题: - did you register the component correctly......
问题:无法使用tree组件提示 Unknown custom element:<a-tree> - did you register the component correctly? Fo…

【原创】Promise循环执行,以及延时循环

Z先生6年前 (2020-11-28)前端1163
演示代码//核心代码 function promiseMain(page) { return new Promise(function(resolve,&…

js关于this的小技巧

Z先生6年前 (2020-11-19)前端1199
这段时间,vue写的多了,习惯了es6的方式写函数,但是这种写法很容易导致this失效,比如刚刚发布的vue深度监听的问题,用了es6的写法,this就没法用,换回传统写法就可以了。// es6写法,…

vue深度监听

Z先生6年前 (2020-11-19)前端1205
还是不废话,直接上干货watch: { data: { handler: (newVal, oldVal) => { console.log(‘data’, newVal); }, deep:…

import、require互相替换写法

Z先生6年前 (2020-11-18)前端1085
首先,Module 语法是 JavaScript 模块的标准写法,坚持使用这种写法。使用import取代require。// badconst moduleA = require('moduleA')…