解决冲突2
This commit is contained in:
commit
26357524d0
|
@ -69,13 +69,13 @@ Page({
|
||||||
onReachBottom: function () {
|
onReachBottom: function () {
|
||||||
//上拉分页,将页码加1,然后调用分页函数
|
//上拉分页,将页码加1,然后调用分页函数
|
||||||
this.data.page = this.data.page + 1;
|
this.data.page = this.data.page + 1;
|
||||||
this.getwzlist();
|
this.getwzlist(this.data.page);
|
||||||
|
|
||||||
},
|
},
|
||||||
getwzlist: function (page) {
|
getwzlist: function (page) {
|
||||||
var that = this;
|
var that = this;
|
||||||
if (page != 1) { page = that.data.page }
|
if (page != 1) { page = that.data.page }
|
||||||
api.request('api/offence/?a=listall', 'GET').then(res => {
|
api.request('api/offence/?a=listall', 'GET', {page:page}).then(res => {
|
||||||
if (res.rows.length == 0) {
|
if (res.rows.length == 0) {
|
||||||
if (page == 1) {
|
if (page == 1) {
|
||||||
this.setData({
|
this.setData({
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="weui-cell__bd">
|
<view class="weui-cell__bd">
|
||||||
<navigator url="/pages/dickey/treeselect?a=yhlx">
|
<navigator url="/pages/dickey/treeselect?a=yhlxo">
|
||||||
<view class="weui-select">
|
<view class="weui-select">
|
||||||
{{yhlxo__name}}
|
{{yhlxo__name}}
|
||||||
</view>
|
</view>
|
||||||
|
|
|
@ -18,15 +18,14 @@
|
||||||
"checkSiteMap": true,
|
"checkSiteMap": true,
|
||||||
"uploadWithSourceMap": true,
|
"uploadWithSourceMap": true,
|
||||||
"compileHotReLoad": false,
|
"compileHotReLoad": false,
|
||||||
"useMultiFrameRuntime": true,
|
"useMultiFrameRuntime": false,
|
||||||
"useApiHook": true,
|
"useApiHook": true,
|
||||||
"useApiHostProcess": false,
|
|
||||||
"babelSetting": {
|
"babelSetting": {
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"disablePlugins": [],
|
"disablePlugins": [],
|
||||||
"outputPath": ""
|
"outputPath": ""
|
||||||
},
|
},
|
||||||
"enableEngineNative": false,
|
"bundle": false,
|
||||||
"useIsolateContext": false,
|
"useIsolateContext": false,
|
||||||
"useCompilerModule": false,
|
"useCompilerModule": false,
|
||||||
"userConfirmedUseCompilerModuleSwitch": false,
|
"userConfirmedUseCompilerModuleSwitch": false,
|
||||||
|
|
Loading…
Reference in New Issue