style: lint

This commit is contained in:
Neko Ayaka
2026-08-26 19:49:58 +08:00
parent e60a04a4ec
commit 98f40d7d0b
1625 changed files with 75216 additions and 75203 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import App from './App.vue'
import '@unocss/reset/tailwind.css'
import 'uno.css'
const router = createRouter({ routes, history: createWebHashHistory() })
const router = createRouter({ history: createWebHashHistory(), routes })
createApp(App)
.use(router)
@@ -11,12 +11,12 @@ export const weatherComponent = defineCallingComponent(
Weather,
object({
city: string(),
temperature: string(),
condition: string(),
temperature: string(),
}),
{
city: 'Tokyo',
temperature: '25°',
condition: 'Sunny',
temperature: '25°',
},
)
@@ -6,9 +6,9 @@ import { toJsonSchema } from 'xsschema'
export function defineCallingComponent<T extends Schema>(name: string, component: Component, schema: T, exampleProps?: Record<string, any>) {
return {
name,
schema: toJsonSchema(schema),
component: markRaw(component),
exampleProps,
name,
schema: toJsonSchema(schema),
}
}