fix: 删除不必要的代码

This commit is contained in:
ex_zhangwenlei@exiot.cmcc
2024-01-24 23:09:32 +08:00
parent f1a56a80c9
commit 80bcc5a5dc
5 changed files with 2 additions and 108 deletions

View File

@@ -1,24 +1,9 @@
<script setup lang='ts'>
import NumberSeparate from '@/components/NumberSeparate/index.vue'
import {ref} from 'vue'
const total=ref(12)
const sep=ref([
{id:'0',num:3,isUsed:false},
{id:'1',num:4,isUsed:false},
{id:'2',num:2,isUsed:false},
{id:'3',num:3,isUsed:false},
])
const printPoo=()=>{
console.log(sep.value)
}
</script>
<template>
<div>
<NumberSeparate :totalNumber="total" :separatedNumber="sep"></NumberSeparate>
<button class="btn btn-error" @click="printPoo">打印</button>
<button class="btn btn-error">打印</button>
</div>
</template>