改进ui::autocomplete::beforeDelete()接口设计