mirror of
https://github.com/vbenjs/gf-vben-admin.git
synced 2025-01-23 20:00:19 +08:00
fix(demo): form pages support keepAlive
修复表单演示页面不支持keepAlive的问题
This commit is contained in:
parent
45a94e41c1
commit
9228282ae2
@ -16,6 +16,7 @@
|
|||||||
import { PageWrapper } from '/@/components/Page';
|
import { PageWrapper } from '/@/components/Page';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
name: 'FormBasicPage',
|
||||||
components: { BasicForm, PageWrapper },
|
components: { BasicForm, PageWrapper },
|
||||||
setup() {
|
setup() {
|
||||||
const { createMessage } = useMessage();
|
const { createMessage } = useMessage();
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
import { Card } from 'ant-design-vue';
|
import { Card } from 'ant-design-vue';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
name: 'FormHightPage',
|
||||||
components: { BasicForm, PersonTable, PageWrapper, [Card.name]: Card },
|
components: { BasicForm, PersonTable, PageWrapper, [Card.name]: Card },
|
||||||
setup() {
|
setup() {
|
||||||
const tableRef = ref<{ getDataSource: () => any } | null>(null);
|
const tableRef = ref<{ getDataSource: () => any } | null>(null);
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
import { Steps } from 'ant-design-vue';
|
import { Steps } from 'ant-design-vue';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
name: 'FormStepPage',
|
||||||
components: {
|
components: {
|
||||||
Step1,
|
Step1,
|
||||||
Step2,
|
Step2,
|
||||||
|
Loading…
Reference in New Issue
Block a user