'首次提交'

This commit is contained in:
有来技术
2021-11-13 23:26:02 +08:00
commit 232db25546
21 changed files with 1448 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
<template>
<el-input v-model="input" placeholder="Please input" />
<el-input-number v-model="num" :min="1" :max="10" @change="handleChange"/>
</template>
<script lang="ts">
import {defineComponent, ref} from 'vue'
export default defineComponent({
setup() {
const num = ref(1)
const handleChange = (value: string) => {
console.log(value)
}
return {
input:ref(''),
num,
handleChange,
}
},
})
</script>
<style scoped>
a {
color: #42b983;
}
label {
margin: 0 0.5em;
font-weight: bold;
}
code {
background-color: #eee;
padding: 2px 4px;
border-radius: 4px;
color: #304455;
}
</style>