WIP: 重构Modal
现在的Modal有一些缺点亟待解决。
- Modal调用方法和官方推崇的方法很不一致,是用一种比较hack的手段解决的。
- 一定要创建本地的store,容易产生奇怪的渲染问题。
- 本质上本地会存在多个Modal的实例。等于说,每次Modal的依赖变了,所有的Modal都会后台偷偷渲染。
现在的Modal有一些缺点亟待解决。
Step 1. Fetch and check out the branch for this merge request
git fetch origin git checkout -b "dev/marigold" "origin/dev/marigold"
Step 2. Review the changes locally
Step 3. Merge the branch and fix any conflicts that come up
git fetch origin git checkout "origin/main" git merge --no-ff "dev/marigold"
Step 4. Push the result of the merge to GitLab
git push origin "main"
Note that pushing to GitLab requires write access to this repository.
Tip: You can also checkout merge requests locally by following these guidelines.