Uncaught ReferenceError: xxx is not defined 解决办法

Uncaught ReferenceError: inputSize is not defined
    at <anonymous>:1:1

 

解决办法(根据需求调整):

if((typeof inputSize) == "undefined"){
inputSize = 9;
}
posted on 2019-07-11 14:39  山鹰羽眼  阅读(44363)  评论(0编辑  收藏  举报