Browse Source

fix:修改instant部分字段

pull/111/head
肖晋飞 2 weeks ago
parent
commit
89bf449725
  1. 2
      src/views/run/instant/index.vue
  2. 2
      src/views/run/instant/instant.data.ts

2
src/views/run/instant/index.vue

@ -221,7 +221,7 @@ function handleWarnConfig(record: Recordable) {
<!-- </template>-->
<template #status="{ record }">
<Switch
v-model:checked="record.status" :checked-value="1" :un-checked-value="0" checked-children="开"
v-model:checked="record.instantStatus" :checked-value="1" :un-checked-value="0" checked-children="开"
un-checked-children="关" @change="updateStatus(record)"
/>
</template>

2
src/views/run/instant/instant.data.ts

@ -77,7 +77,7 @@ export const columns: BasicColumn[] = [
},
{
title: '投切',
dataIndex: 'status',
dataIndex: 'instantStatus',
width: 100,
slots: { customRender: 'status' },
fixed: 'right',

Loading…
Cancel
Save