mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-28 00:42:12 +08:00
feat: add VbenForm component (#4352)
* feat: add form component * fix: build error * feat: add form adapter * feat: add some component * feat: add some component * feat: add example * feat: suppoer custom action button * chore: update * feat: add example * feat: add formModel,formDrawer demo * fix: build error * fix: typo * fix: ci error --------- Co-authored-by: jinmao <jinmao88@qq.com> Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
<script lang="ts" setup>
|
||||
import type { CaptchaPoint } from '@vben/common-ui';
|
||||
|
||||
import { ref } from 'vue';
|
||||
|
||||
import { Page, type Point, PointSelectionCaptcha } from '@vben/common-ui';
|
||||
import { Page, PointSelectionCaptcha } from '@vben/common-ui';
|
||||
|
||||
import { Card } from 'ant-design-vue';
|
||||
|
||||
import { captchaImage, hintImage } from './base64';
|
||||
|
||||
const selectedPoints = ref<Point[]>([]);
|
||||
const handleConfirm = (points: Point[], clear: () => void) => {
|
||||
const selectedPoints = ref<CaptchaPoint[]>([]);
|
||||
const handleConfirm = (points: CaptchaPoint[], clear: () => void) => {
|
||||
selectedPoints.value = points;
|
||||
clear();
|
||||
};
|
||||
|
Reference in New Issue
Block a user