在vector<string> 中*it应该与text1形式保持一致,是string,而toupper仅用于单一字符 其中,string中*it为char 而vector<string>中*it为string