暂存
This commit is contained in:
@@ -82,7 +82,7 @@ import $http from '@/config/requestConfig.js';
|
||||
playData: {},
|
||||
//手机号账号
|
||||
form: {
|
||||
id: '', // 作业或者医案id
|
||||
id: undefined, // 作业或者医案id
|
||||
classId: undefined,
|
||||
display:'1',
|
||||
content: '', // 描述
|
||||
@@ -131,7 +131,7 @@ import $http from '@/config/requestConfig.js';
|
||||
//第一次加载
|
||||
onLoad(e) {
|
||||
console.log('收到的值', e);
|
||||
if(e.sort != 'undefined'){
|
||||
if(e.sort != 'undefined' && e.sort){
|
||||
this.form.sort = e.sort
|
||||
}
|
||||
this.pageType = e.type
|
||||
@@ -300,7 +300,7 @@ import $http from '@/config/requestConfig.js';
|
||||
"title": this.form.title,
|
||||
"content": this.form.content,
|
||||
"img": this.form.img,
|
||||
"sort": this.form.sort ? parseInt(this.form.sort)+1 : undefined
|
||||
"sort": this.form.sort && !this.form.id ? parseInt(this.form.sort)+1 : undefined
|
||||
},
|
||||
header: { //默认 无 说明:请求头
|
||||
'Content-Type': 'application/json'
|
||||
|
||||
Reference in New Issue
Block a user