我是新的角度我试图通过下拉列表代码显示安全问题,当它是单页但是当它在那时添加到.js文件时显示
<div class="container re" ng-controller="securityQuestionController">
<div class="row">
<h2>Set your Security Question</h2>
<h3>To keep your account protected please set your own security question</h3>
<div class="col-lg-4">
<form action="">
<label for="peopleArraySel1">Array select 2:</label>
<select class="form-control" ng-options="p.first for p in people" ng-model="selectedPerson">
</select>
</form>
</div>
</div>
app.controller("securityQuestionController",function($scope){
$scope.people = [
{'first': 'what is your school name'},
{'first': 'what is collage name'},
{'first': 'what is your father name'}
];
});
我的代码
const int aSel = 40;
UINT MyVar= aSel - strlen( Mystring );//Warning C4267