This commit is contained in:
@ -1,8 +1,11 @@
|
|||||||
|
import { zh } from '@formkit/i18n'
|
||||||
import { genesisIcons } from "@formkit/icons"
|
import { genesisIcons } from "@formkit/icons"
|
||||||
import { rootClasses } from "./formkit.theme"
|
|
||||||
import { DefaultConfigOptions } from '@formkit/vue'
|
import { DefaultConfigOptions } from '@formkit/vue'
|
||||||
|
import { rootClasses } from "./formkit.theme"
|
||||||
|
|
||||||
const config: DefaultConfigOptions = {
|
const config: DefaultConfigOptions = {
|
||||||
|
locales: { zh },
|
||||||
|
locale: 'zh',
|
||||||
icons: { ...genesisIcons },
|
icons: { ...genesisIcons },
|
||||||
config: { rootClasses }
|
config: { rootClasses }
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="zh-CN">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||||
|
1790
pnpm-lock.yaml
generated
Normal file
1790
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
async function submit() {
|
async function submit(...args: any[]) {
|
||||||
|
console.debug('submit',`args :>> `, args);
|
||||||
await new Promise(r => setTimeout(r, 1000))
|
await new Promise(r => setTimeout(r, 1000))
|
||||||
alert('Submitted! 🎉')
|
alert('Submitted! 🎉')
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user