- 博客(16)
- 收藏
- 关注
原创 vue3 Property ‘proxy‘ does not exist on type ‘ComponentInternalInstance | null‘.
【代码】vue3 Property ‘proxy‘ does not exist on type ‘ComponentInternalInstance | null‘.
2023-10-13 15:12:46
568
原创 Uncaught SyntaxError: The requested module ‘/node_modules/.vite/deps/vue-router.js?v=9eef87ba‘
vue-router 常见错误
2023-10-10 01:32:13
3459
原创 webstrom Eslint设置
安装完node_module之后,项目的eslint并不起作用。webstrom的版本与eslint版本不对应,需要降低版本。提示:重新设置Eslint的格式时出现问题。
2023-09-26 17:50:15
662
原创 【vue】 select多选框渲染错误的问题
change=“$forceUpdate()” 是一个Vue.js的指令,用于强制更新组件的视图。当Select多选框的值发生变化时,使用该指令可以强制重新渲染组件,以确保视图与数据的同步。这在某些情况下是必要的,例如当你在选择项发生变化后需要立即更新其他组件时,可以使用该指令来触发重新渲染。
2023-09-22 17:12:29
307
原创 element 弹窗屏幕变灰的问题
这是因为当你将第二个弹窗设置:modal-append-to-body="false"的时候,第二成弹窗遮罩层的属性被添加到了父元素上,也就是第一个弹窗,当关闭第二个弹窗的时候,第一个弹窗的z-index 被降低(因为它是第二个弹窗的遮罩层),此时,第一个弹窗的遮罩层依然存在(z-index最高),所以整个屏幕都会变黑(包括第一个弹窗)。关闭第二个弹窗不会影响第一个弹窗的z-index,所以第一个弹窗的z-index是最高的,不会被遮罩层盖住。如果在最后一个弹框加入。
2023-09-22 11:33:16
305
1
原创 【微信小程序】微信小程序生成二维码报错errcode=41030,invalid page rid
小程序二维码生成报错41030:invalid page rid
2022-07-06 14:42:40
12901
原创 【ThinkPHP6】文件上传报错:fopen() expects parameter 1 to be a valid path, bool given
Thinkphp6文件上传报错
2022-05-28 16:36:14
855
原创 【MySQL】使用like模糊查询json的数据
需求在已生成的json数据,模糊搜索指定内容解决办法$number = str_replace('"', '', json_encode($number));$number = str_replace("\\", '_', $number);分析去除json_encode转义过后的数据中的 “双引号将转义后的unicode编码数据中的 “\” 替换成 “_”,就可查询出来结果问题经过上面的数据处理,可正常查询出数据。但是经过测试,发现,如果只经上次的处理,查询内容中如果存在中文的话,
2021-08-18 16:35:55
3917
原创 【ThinkPHP5】Warning: require(E:\phpstudy_pro\WWW\TP5\tp5\public/../thinkphp/base.php): failed to open
项目场景:git拉取thinkphp5.0项目后,更新composer.json依赖问题描述:更新composer依赖,设置站点后,运行报错内容如下Warning: require(E:\phpstudy_pro\WWW\web_hnlqsw_cn\vendor\composer/../topthink/think-testing/src/config.php): failed to open stream: No such file or directory in E:\phpstudy_pro\
2021-08-10 12:41:42
2022
原创 【Windows】:IIS部署网站时显示:未能映射路径“/”
错误内容IIS部署网站时显示:未能映射路径“/”解决方法在IIS管理器中点击“应用程序池”,点击对应的网站,将托管管道模式的“集成”改为“经典”,刷新网站就可以了操作步骤:站点中选择高级设置(右侧导航)选择常规选择应用池将“DefaultAppPool(集成4.0)” 改为“.NET v4.5 Classic(经典4.0)”...
2021-07-19 16:05:07
3395
原创 【ThinkPHP5】 syntax error, unexpected ‘const‘ (T_CONST), expecting variable (T_VARIABLE)
错误内容语法解析错误: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE)原因PHP版本太低,常量修饰符7.1才支持。PHP 7.1 之前的类常量是不允许添加可见性修饰符的,此时类常量可见性相当于 public。PHP 7.1 为类常量添加了可见性修饰符支持特性。解决方法将PHP版本调整为最低7.1以上...
2021-07-06 17:13:28
2338
2
原创 【Composer】No lock file found... Your requirements could not be resolved to an installable
错误内容原因解决方法
2021-07-06 10:30:02
397
原创 【Composer】Cannotcreatecachedirectory /home/vagrant/.composer/cache/repo/https---packagist.org/,
错误内容Cannotcreatecachedirectory /home/vagrant/.composer/cache/repo/https---packagist.org/,or directoryis not writable. ProceedingwithoutcacheCannotcreatecachedirectory /home/vagrant/.composer/cache/files/, or directoryis not writable. Proceedingwithoutc
2021-07-05 20:09:55
436
1
原创 【Composer】:Your requirements could not be resolved to an installable set of packages.
错误内容vagrant@homestead:/usr/share/nginx/html/laravel-blog$ sudocomposerinstallLoadingcomposerrepositorieswithpackage informationInstallingdependencies (includingrequire-dev) fromlockfileYourrequirementscouldnot beresolvedto aninstallablesetofpackages.
2021-07-05 20:02:58
1717
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人