Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 91444

非常初级的问题

$
0
0

start () {
// [3]
var uname:string = “Runoob”;
console.log(uname);
}
function Click(){
var uname:string = “Runoob”;
console.log(uname);
}

报错 提示无法加载模块 file:///E:/%E5%B0%8F%E6
也就是从function这一行开始出错
谁能告诉我这是语法错误还是其他原因

3 个帖 - 2 位参与者

阅读整个主题


Viewing all articles
Browse latest Browse all 91444


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>