Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-study-front-share
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
yifu-study
front
yifu-study-front-share
Commits
2bbf780c
Commit
2bbf780c
authored
Apr 25, 2022
by
wangxuxiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文章增加作者信息
parent
62239d55
Pipeline
#15675
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
软件包管理.md
source/_posts/软件包管理.md
+11
-0
No files found.
source/_posts/软件包管理.md
View file @
2bbf780c
---
title: 软件包管理
date: 2022/4/25 10:00:00
tags:
-
node.js
-
npm
-
package.json
author: 王许晓
---
# 背景
近期维护《安庆项目》(基于React.js实现的管理后台)时遭遇到与之前开发测试运行结果不同的问题。这次维护是从gitlab上重新clone下来的,没有缓存node_modules。使用npm命令下载依赖包,期间有过几次同步失败,重新尝试后项目可以运行起来。然后各种坑来了,首先是 KeepAlive 和 connect 一起使用时,props属性不能传递到组件中,然后 AntDesign的ProTable中的columns配置的属性order会影响table的列的排序,按文档说明看这个属性影响的应该是search项的排序,然后我检查了ProTable的更新日志并没有修复此bug的记录,这么严重的问题他们没有记录那么问题就出在我的代码里,暴力解决办法是删除node_modules重新下载,结果全好了。
# 软件包管理器
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment