IC_ Asked:2020-11-08 18:22:01 +0000 UTC2020-11-08 18:22:01 +0000 UTC 2020-11-08 18:22:01 +0000 UTC Angularjs 工作很奇怪 [关闭] 772 演示 <input ng-model="showSpecial2" type="checkbox" /> <div ng-show="showSpecial2" id="special2"> first </div> <input ng-model="showSpecial" type="checkbox" /> <div ng-show=”showSpecial” id="special"> second </div> 1 和 2 之间有什么区别,为什么一个有效而另一个无效 angularjs 1 个回答 Voted Best Answer Abmin 2020-11-08T18:27:42Z2020-11-08T18:27:42Z 你在第二个块中有错误的括号。相反",你有” 演示 <input ng-model="showSpecial1" type="checkbox" /> <div ng-show="showSpecial1" id="special1"> first </div> <input ng-model="showSpecial2" type="checkbox" /> <div ng-show="showSpecial2" id="special2"> last </div>
你在第二个块中有错误的括号。相反
",你有”演示