yaml内容为str,读取后为字典,取值就根据字典来取。 转载及参考: https://www.jianshu.com/p/04ecb5aa1fc8 https://blog.csdn.net/HeatDeath/article/details/72833642