确认{{ state.editIndex > -1 ? '编辑' : '添加'}}
{{ item.text }}
{{ state.editIndex === index ? '取消编辑' : '编辑'}}
删除