[英]angular directive ng-show not working
我在下面的代碼中有非常清晰的前角代碼,ng-show指令不起作用
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script>
"<div id="temperature" ng-show='false'> ℃</div>"
<div id="temperature" ng-show='false'>{{temperature}} ℃</div>
在這里ng-show沒有做任何工作
解決了,Angular src本身有問題,將其更改為CDN解決了我的問題
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.