968e2cf577cc4ded9544b5a495d6910ccb1133e7
1. support set user's default project 2. display user's default project in the user list page/user detail page 3. support remove user's default project 4. update user e2e to adapt default project column Change-Id: I4664429c0c01d195bed3701087e92776b068c69d
Instructions
简体中文| English
Table of contents
Resources
Prerequisites
node: lts/erbium (v12.*)yarn: 1.22.4 +
Local Environment
Take CentOS as an example
Install nvm ( version control system for nodejs )
wget -P /root/ --tries=10 --retry-connrefused --waitretry=60 --no-dns-cache --no-cache https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh bash /root/install.sh . /root/.nvm/nvm.shInstall nodejs
NODE_VERSION=erbium nvm install --lts=$NODE_VERSION nvm alias default lts/$NODE_VERSION nvm use defaultVerify nodejs and npm versions
node -v # v12.*.* npm -v # 6.*.*Install yarn
npm install -g yarnInstall the project dependency under the root directory, with
package.jsonin the same place.yarn installAfter those steps, please just wait until the installation is complete.
Usage
Under the root directory, with package.json in the same
place.
yarn run mock: Use the mock interface of rap2yarn run dev: To use the actual interface, you can copyconfig/config.yamltoconfig/local_config.yaml, and replace theservervalue with the correct address.yarn run build: Build packages and then you can hand over the contents of the generated dist directory to the back end.
Docs
How to develop
- Preparation before development
- Directory structure
- Develop a new resource page
- BaseList introduction
- BaseTabList introduction
- BaseDetail introduction
- BaseDetailInfo introduction
- BaseStore introduction
- FormAction introduction
- ModalAction introduction
- ConfirmAction introduction
- StepAction introduction
- FormItem introduction
- Action introduction
- Menu introduction
- Route introduction
- I18n introduction
How to test
Description
Languages
JavaScript
99.2%
Less
0.7%