mirror of
https://github.com/lainbo/component-party.git
synced 2026-04-05 04:59:02 +08:00
minor fix
This commit is contained in:
@@ -723,14 +723,14 @@ UserProfile.propTypes = {
|
||||
```vue
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
import Hello from './UserProfile.vue';
|
||||
import UserProfile from './UserProfile.vue';
|
||||
|
||||
const username = ref('John');
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<input v-model="username">
|
||||
<Hello :name="username" />
|
||||
<UserProfile :name="username" />
|
||||
</template>
|
||||
|
||||
```
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
import Hello from './UserProfile.vue';
|
||||
import UserProfile from './UserProfile.vue';
|
||||
|
||||
const username = ref('John');
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<input v-model="username">
|
||||
<Hello :name="username" />
|
||||
<UserProfile :name="username" />
|
||||
</template>
|
||||
|
||||
@@ -688,14 +688,14 @@ UserProfile.propTypes = {
|
||||
```vue
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
import Hello from './UserProfile.vue';
|
||||
import UserProfile from './UserProfile.vue';
|
||||
|
||||
const username = ref('John');
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<input v-model="username">
|
||||
<Hello :name="username" />
|
||||
<UserProfile :name="username" />
|
||||
</template>
|
||||
|
||||
```
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"compileOnSave": false,
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"baseUrl": "./",
|
||||
"outDir": "./dist/out-tsc",
|
||||
"sourceMap": true,
|
||||
|
||||
Reference in New Issue
Block a user