add(MyButton): 新增按钮组件
This commit is contained in:
@@ -2,19 +2,24 @@
|
||||
|
||||
<div id="Test">
|
||||
<MyInput icon-name="user"></MyInput>
|
||||
|
||||
<MyButton >登录...</MyButton>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import MyInput from '@/components/MyInput.vue';
|
||||
import MyInput from '@/components/IconInput.vue';
|
||||
import MyButton from '@/components/MyButton.vue';
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
<style scoped>
|
||||
|
||||
#Test {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user