feat: 重构偷卡模块,新增列表和记录功能,优化组件导入
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user