feat: 重构偷卡模块,新增列表和记录功能,优化组件导入

This commit is contained in:
danial
2025-04-29 00:17:32 +08:00
parent 4e903883e5
commit c0c7282b6e
3 changed files with 4 additions and 4 deletions

View File

@@ -8,16 +8,16 @@
<a-radio value="record">匹配记录</a-radio>
</a-radio-group>
</template>
<steal-list v-if="state.module === 'list'" />
<steal-record v-if="state.module === 'record'" />
<List v-if="state.module === 'list'" />
<Record v-if="state.module === 'record'" />
</a-card>
</div>
</template>
<script lang="ts" setup>
import { reactive } from 'vue';
import StealList from './steal-list.vue';
import StealRecord from './steal-record.vue';
import List from './list.vue';
import Record from './record.vue';
const state = reactive<{
module: 'list' | 'record';