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>
</template>
<template slot="inputStatus" slot-scope="text, record, index">
<template slot="inputStatus" slot-scope="text, record">
<span>
{{ record.inputStatus === 0 ? '新建'
: record.inputStatus === 1 ? '数据搜集中'
@ -27,7 +27,7 @@
</template>
<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>
</a-table>
</div>

Loading…
Cancel
Save