|
|
@@ -335,7 +335,7 @@ Component({
|
|
|
* 查询数据
|
|
|
* @param {*} e
|
|
|
*/
|
|
|
- getdata: function (DataSourceCode) {
|
|
|
+ getdata: function (DataSourceCode) {
|
|
|
let param = {
|
|
|
dataSourceCode: DataSourceCode
|
|
|
}
|
|
|
@@ -351,7 +351,7 @@ Component({
|
|
|
}
|
|
|
|
|
|
return new Promise((resolve, reject) => {
|
|
|
- api.request(Constants.BASIC_COMMON_API + 'get_wx_init_data', 'POST', param).then(res => {
|
|
|
+ api.request(Constants.BASIC_COMMON_API + 'get_init_data', 'POST', param).then(res => {
|
|
|
if (res.data.code === 200) {
|
|
|
resolve(res.data)
|
|
|
} else {
|