diff --git a/config/index.js b/config/index.js
index 4d9c185..72e858a 100644
--- a/config/index.js
+++ b/config/index.js
@@ -20,7 +20,7 @@ module.exports = {
// Various Dev Server settings
// host: '192.168.43.94', // can be overwritten by process.env.HOST
- //host: '192.168.43.94', // can be overwritten by process.env.HOST
+ host: IP, // can be overwritten by process.env.HOST
port: 8001, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: true,
errorOverlay: true,
diff --git a/src/views/modules/result/record/recorddetail.vue b/src/views/modules/result/record/recorddetail.vue
index 71fddfe..96cc48c 100644
--- a/src/views/modules/result/record/recorddetail.vue
+++ b/src/views/modules/result/record/recorddetail.vue
@@ -60,6 +60,7 @@
:data="tableData"
:span-method="objectSpanMethod"
:cell-style="cellStyle"
+ :max-height="clientHeight"
v-loading.body="loading"
element-loading-text="Loading" border fit highlight-current-row>
@@ -70,7 +71,7 @@
-
+
@@ -127,6 +128,9 @@ import UploadAddOrUpdate from './upload-add-or-update.vue'
export default {
created () {
+ console.log(window.innerHeight)
+ this.clientHeight = window.innerHeight - 273
+ console.log(this.clientHeight)
},
filters: {
getcheckWeightStr (val) {
@@ -170,7 +174,8 @@ export default {
loading: false,
auth: [],
recordType: 0,
- fileCount: 0
+ fileCount: 0,
+ clientHeight: 0
}
},
components: {