Tag:Terms of settlement
-
React solves the problem that the cascade tag and select tag of the cascader of antd cannot dynamically modify the attribute value of DefaultValue
Because the default value of DefaultValue is a written array, modify it after initialization The value of DefaultValue cannot be modified successfully Solution: forCascader/selectAdd a new componentkeyProperty, andkeyAttribute values anddefaultValueThe attribute values of are consistent, that is, the two attribute values are the same variable, which can solve the problem.
-
The command bypasses the pagoda panel and forcibly binds the mobile phone number
sed -i “s|bind_user == ‘True’|bind_user == ‘XXXX’|” /www/server/panel/BTPanel/static/js/index.js stayliunxUse in the terminal. After execution, press in the pagoda panelCtrl+F5Just refresh the pageThe latest version doesn’t work well. There’s no solution for now bt liunx This work adoptsCC agreement, reprint must indicate the author and the link to this article
-
Mac multi node version free switching
Because some old projects are not compatible with the new node version, sometimes we need to install multiple nodes and automatically switch different node versions at any time for relevant project testing. Recently, I happened to encounter such a problem. Record the solution I found: 1. First, we need to use NPM to install the […]
-
Report NPM err when solving NPM install! exited with error code: 128
NPM install reports error code: 128 and error: eperm: operation not allowed_ terms of settlement: Execute the following command: git config –global http.sslverify “false”Then execute NPM install If the error is still reported after the above command is executed, continue to execute the following command git config –global url.”https://”.insteadOf git://You can solve the problem of […]
-
Summary of common commands of minicanda
The main purpose of writing this is that when you are old, you always can’t remember the command line. Just sort it out. If you forget it, you don’t have to look all over the world. Commands related to channels View channels that have been added conda config –get channels Add channels conda config –add […]
-
Solve the problem of all mirror URLs are not using FTP, HTTP [S] or file
Execute in CentOSyum updateThe following error will be reported: Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Update Process Determining fastest mirrors YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/repo/arch combination/ removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt Error: Cannot find a valid baseurl for repo: base This is […]
-
Solve the problem of inconsistency between attribute name and field name
Fields in the database public class User{ private int id; private String name; private String password; } The test found that the password is null //select id,name,pwd from mybatis.user where id=#{id} terms of settlement: Alias <select id=”getUserById” resultType=”com.jialidun.pojo.User”> select id,name,pwd as password from mybatis.user where id=#{id} </select> resultMap Result set mapping id name pwd id […]
-
Batch file bat background running
Requirements: When running the batch file bat, a black window will be displayed, occupying the position of the taskbar. Moreover, for my obsessive-compulsive disorder, it looks very uncomfortable, so I think about how to hide and run in the background;I found two methods on the Internet, which can make bat run in the background without […]
-
Install the cross compilation tool for Ubuntu and execute/ Arm none Linux gnueabi GCC – V command prompt: the file or directory cannot be found?
The problem is Generally, 32-bit Ubuntu is used. Generally, there will be no problem after the environment is configured. However, for 64 bit Ubuntu systems, this problem will occur after the environment is configured. In fact, there is a lack of 32-bit software package. I use Ubuntu 18 64 bit version 04.1. terms of settlement […]
-
Solution to the problem that interlij cannot use Chinese input method (applicable to interlij linux environment)
Recently, I switched to the Ubuntu system as the working environment. There was a strange problem when using pycharChinese can’t be input normally, and then I searched all over the Internet for solutionsThe system information is as follows: The Chinese input method is IBusAfter confirming that the method of environmental variable declaration is invalid, I […]
-
Solutions to the problem of “image not found” in rasterio, GDAL and other import libraries
When MacBook uses rasterio, GDAL and other libraries, it has the problem of “image not found”, as shown in the figure: terms of settlement:(1) To re create a new environment with anaconda, you can use the navigator interface or the command line:CONDA create – name your environment name python = 3(2) Install GDAL first:conda install […]
-
Essential for Architects: MySQL master-slave delay solution
The last article introducedPrinciple and application of MySQL master-slave synchronization, this paper summarizes the causes and solutions of MySQL master-slave delay. If the master-slave delay is too large, it will affect the business, and appropriate solutions should be adopted. Performance of MySQL master-slave delay Insert or update the update operation first, and then select the […]