logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

array_column()返回输入数组中某个单一列的值

array_column() 返回输入数组中某个单一列的值。语法:array_column(array,column_key,index_key)keydescriptionarray必需。规定要使用的多维数组(记录集)。可以是索引数组的列的整数索引,或者是关联数组的列的字符串键值。该参数也可以是 NULL,此时将返回整个数组(配合 index_key 参数来重置数组键的时候,非常有用)。colu

#php
mac关闭JetbrainsAgent配置助手弹窗

如图所示,每次启动phpstorm都会有以下弹窗,需手动关闭后才能进入工作台。通过上图所示路径取消 ☑️,再次重启编辑器,关闭弹窗成功

#macos
使用phpStorm 运行php项目时,报错:502Bad Gateway解决方案

在使用phpStorm页面的谷歌浏览器访问页面时,发现浏览器出现:502Bad Gateway提示,搜了一下,发现需要配置phpstorm对PHP解释器。设置方法如下:File->Settings->Language & Frameworks->PHP->CLI Interpreter->…点击添加会有默认的路径,选择好点击ok->ok 重新运行项目已经

#php
生成package.json文件

在新建的node文件中配置一个package.json文件,cd 项目文件执行如下命令:npm init按enter依次回答以下问题后,Is this OK? (yes) yes出现以下提示说明成功创建package.json文件

#json
[Vue warn]: Property or method “search“ is not defined on the instance but referenced......

解决方案在data中添加以下代码:search: "",刷新页面无报错

#vue.js
基于vue-cli@4 使用element-ui栅格布局时出现Unknown custom element: <el-row>的解决方案

原因是没有注册组件了解决办法:打开入口文件main.js,添加以下代码:import ElementUI from 'element-ui';Vue.component(ElementUI);/* 或写为* Vue.use(ElementUI)*/

Argument of type ‘HTMLElement | null‘ is not assignable to parameter of type ‘HTMLElement‘. Type ‘

在vue3.0+typescript+echarts5.0项目中,初始化图表,public myChart = echarts.init(document.getElementById("main"));控制台出现以下报错Argument of type 'HTMLElement | null' is not assignable to parameter of type 'HTMLElement

使用uview插件时报错 ‘文件查找失败’解决方案

1.重新安装npm install uview-ui2.在项目根目录中的main.js中,引入并使用uView的JS库,注意这两行要放在import Vue之后。import uView from "uview-ui";Vue.use(uView);3.在项目根目录的uni.scss中引入此文件。@import 'uview-ui/theme.scss';4.引入uView基础样式<styl

#uni-app
Uncaught TypeError: Cannot read properties of undefined (reading ‘toLowe

Uncaught TypeError: Cannot read properties of undefined (reading 'toLowerCase')解决方案

#前端
python: ‘import‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件;`xxx is not a supported wheel on this platform.`

python安装依赖包时,依赖包链接遇到以下问题:d:\programs\python\python39\python.exe -m pip install --upgrade pip执行 pip install python_ldap-3.3.1-cp37-cp37m-win_amd64.whl 时,报错:D:\Programs>pip install python_ldap-3.3.1-

    共 11 条
  • 1
  • 2
  • 请选择