Browse Source

解决警告

master
lucky 5 years ago
parent
commit
1c37affb6c
  1. 4
      src/components/PatientInfo/PatientTable.vue

4
src/components/PatientInfo/PatientTable.vue

@ -16,7 +16,7 @@
<span>{{ index + 1 }}</span> <span>{{ index + 1 }}</span>
</template> </template>
<template slot="inputStatus" slot-scope="text, record, index"> <template slot="inputStatus" slot-scope="text, record">
<span> <span>
{{ record.inputStatus === 0 ? '新建' {{ record.inputStatus === 0 ? '新建'
: record.inputStatus === 1 ? '数据搜集中' : record.inputStatus === 1 ? '数据搜集中'
@ -27,7 +27,7 @@
</template> </template>
<template slot="edit" slot-scope="text, record"> <template slot="edit" slot-scope="text, record">
<a-button @click="chooseItem" class="ml-4" size="small" type="primary">选择</a-button> <a-button @click="chooseItem(record.id)" class="ml-4" size="small" type="primary">选择</a-button>
</template> </template>
</a-table> </a-table>
</div> </div>

Loading…
Cancel
Save