今天在自己开发项目的时候遇到这样一个问题
就是在访问我的一个产品的时候报错
Namespace declaration statement has to be the very first statement in the script
翻译后:
命名空间声明语句必须是脚本中第一个语句
原因是保存时没有严格按照utf-8来保存
自动加上了bom头
只要打开页面指定utf-8保存一次就好了
今天在自己开发项目的时候遇到这样一个问题
就是在访问我的一个产品的时候报错
Namespace declaration statement has to be the very first statement in the script
翻译后: