1. How to submit the fixed value of value in option to the backend through the interface? Using ng-option, I can only write and retrieve the dictionary to pass the value to the background. If I fix the value, how should I write it? Please refer to it, thank you!
The above select is written in a dictionary. Please take a look. If the value below is written as fixed, how can it be passed to the background!
This js is also written in a dictionary. You can take a look. I need to write fixed values and pass them to the background. Thank you!
给我你的怀抱2017-05-15 17:09:31
The value of the option you selected will be assigned to the ng-model of select
After you finish selecting, console the value of ng-model, it will be the actionType you wrote above
console.log($scope.actionType);
淡淡烟草味2017-05-15 17:09:31
I don’t quite understand what you mean
ng-model绑定数据;
ng-change="somefunction()";
somefunction(
$http...
)