Visual Studio confused by server code inside javascript

前端 未结 7 974
[愿得一人]
[愿得一人] 2021-01-11 19:00

I ran into an annoying problem: the following code gives a warning in Visual Studio.



        
7条回答
  •  梦毁少年i
    2021-01-11 19:42

    You need to wrap the server side expression in quotes.

    
    

提交回复
热议问题