assetMgtH5/pages/assets/list.vue
@@ -66,6 +66,9 @@ ] } }, onShow() { this.getAssetList(); }, methods: { changeHandler(e) { const { @@ -94,6 +97,24 @@ showPicker() { this.show = true; }, //请求 getAssetList() { this.$http.get('/assets/approval/search',{params:{pageNum:"1",pageSize:"10",keyStr:''}}) .then(res => { debugger; let data = res.data; console.log(JSON.stringify(data.data)) let tt = data.data; console.log(tt.length) }).catch(err => { console.log(err.data) }) } } } </script>