开发中需要修改组件的样式:下面是对应的方法,亲测有效,下面是参考链接。 详细链接
解决编码问题:AttributeError: 'str' object has no attribute 'decode'
sql语法,查询字段如果为空/null,就返回0,写法