为什么我报错了呢 这句话 linearGrad.addColorStop(0,0,'#fff'); Uncaught SyntaxError: An invalid or illegal string was specified.
发现了.....写错了