Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F form-component-template
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • x-dcloud-apaas-cli-starter
  • form-component-template
  • Merge requests
  • !52

Merged
Created 1 month ago by 炜 唐@TrevorOwner

Main

  • Overview 0
  • Commits 2
  • Changes 2
  • 炜 唐 @Trevor assigned to @Trevor 1 month ago

    assigned to @Trevor

  • 炜 唐 @Trevor mentioned in commit c789d0fd 1 month ago

    mentioned in commit c789d0fd

  • 炜 唐 @Trevor merged 1 month ago

    merged

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
Compare
  • Web (base)

and
  • latest version
    512813cd
    2 commits, 1 month ago

2 files
+ 12
- 10

    Preferences

    File browser
    Compare changes
.curso‎r/rules‎
apaas-form-com‎ponent-dev.mdc‎ +11 -0
src/form-componen‎t/form-widget/list‎
{{ noCustomWidgetCodeMi‎ddleLineCase }}-list.vue‎ +1 -10
.cursor/rules/apaas-form-component-dev.mdc
+ 11
- 0
  • View file @ 512813cd

  • Edit in single-file editor

  • Open in Web IDE


@@ -746,6 +746,17 @@ export default {
</script>
```
src/form-component/form-editor/index.js
```js
import FormComponentRateSetting from './form-component-rate-setting.vue'
const customFormEditorList = [
/* vue组件的集合 */
FormComponentRateSetting
]
export default customFormEditorList
```
### 其他代码示例补充
这里对于一些常用的需求代码进行示例补充
src/form-component/form-widget/list/{{ noCustomWidgetCodeMiddleLineCase }}-list.vue
+ 1
- 10
  • View file @ 512813cd

  • Edit in single-file editor

  • Open in Web IDE


<template>
<div class="form-widget {{ noCustomWidgetCodeMiddleLineCase }}-list">
<x-proxy-form-item
:isInTable="widget.isInTable"
:showRequired="showRequired"
:label="widget.label"
:validatorRules="validatorRules"
:validateKey="validateKey"
:validateInfo="validateInfo"
>
{{ noCustomWidgetCodeMiddleLineCase }}-list
</x-proxy-form-item>
{{ noCustomWidgetCodeMiddleLineCase }}-list
</div>
</template>
Assignee
炜 唐's avatar
炜 唐
@Trevor
Assign to
0 Reviewers
None
Request review from
Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Lock merge request
Unlocked
1
1 participant
炜 唐
Reference: x-dcloud-apaas-cli-starter/form-component-template!52
Source branch: main

Menu

Projects Groups Snippets
Help