|
@@ -141,7 +141,7 @@ class AddminiFans extends Component {
|
|
|
request({
|
|
|
url: WXMpAPI + "/wx/application/save",
|
|
|
method: "post",
|
|
|
- data: daval
|
|
|
+ data: dto
|
|
|
}).then(function(result) {
|
|
|
if (result.success === 1) {
|
|
|
message.success("操作成功!");
|
|
@@ -390,7 +390,8 @@ class AddminiFans extends Component {
|
|
|
|
|
|
tempList.splice(1,tempList.length);
|
|
|
for(var i in result){
|
|
|
- tempList.push(result[i]);
|
|
|
+ tempList.push(result[i]);
|
|
|
+ // tempList.push({label:'企业微信',value: 1});
|
|
|
}
|
|
|
|
|
|
self.setState((prevState) =>{
|
|
@@ -405,7 +406,7 @@ class AddminiFans extends Component {
|
|
|
}},source:{multi:false,data:[
|
|
|
{label:'企业微信',value:'1'},
|
|
|
{label:'公众号',value:'0'},
|
|
|
- {label:'小程序',value:'2'},
|
|
|
+ {label:'小程序',value:'2'}
|
|
|
]}
|
|
|
},
|
|
|
{ title: "发布端口", data: "portId", type: "dropdown", query: false, source: {
|