zqran

Results 9 issues of zqran

[[中文版模板 / Chinese template](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE/pr_cn.md)] ### 🤔 This is a ... - [ ] New feature - [ ] Bug fix - [x] Site / documentation update - [ ] Demo...

codeball:needs-review

optimize `triggerEffects` logic

When the page is converted to `edgeless` mode and reloaded, the editor should be in `edgeless` mode

The following error message appears when I start the project: Steps: 1. `pnpm i` 2. `pnpm dev` Development Environment: - node v16.18.0 - pnpm v7.3.0 - MacOS

bug
m:infra

This PR makes the following changes to the `reactivity` test code: 1. Simplified Arrow function and the format is unified 2. Removed unnecessary `any` type 3. Removed some redundant test...

:broom: p1-chore

特性说明: 目的:在拖拽排序,并且数据是树形结构(带有 children)时,拿到**某行对应到该层级的索引**,简化拖拽后的数组元素移动操作

### 这个功能解决了什么问题? 问题描述: 当表单需要表单校验时,如果表单项是必填的,会有一个红色的星号表示。现在,星号只能在左侧,并且当紧挨着的两行表单项一个为必填另一个为非必填时,表单项的 label 会存在无法对其的问题。 ![11](https://github.com/user-attachments/assets/5e65c1f2-2188-4fdf-9241-8d0238153715) --- 期望效果(二选一即可): 1. 红色星号,不占布局位置,即使在左侧也可以跟没有星号的表单项 label 对其 2. 可以设置红色星号位置,比如,可以把星号放在 label 右侧 ### 你期望的 API 是什么样子的? 没想好~~~

feature: need confirm

close: #8517 --- Usage: ```html import { ref } from 'vue' const defaultsObject = { name: "Evan You" } const props = withDefaults(defineProps(), defaultsObject) // support local variable ```

scope: sfc
version: minor