diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 728c4a6..db38e9c 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -2,9 +2,9 @@ "version" : "1.0", "configurations" : [ { - "customPlaygroundType" : "local", + "customPlaygroundType" : "device", "packageName" : "io.dcloud.HBuilder", - "playground" : "custom", + "playground" : "standard", "type" : "uni-app:app-android" } ] diff --git a/api/tcpConnection.js b/api/tcpConnection.js index 10f6700..62fb6bb 100644 --- a/api/tcpConnection.js +++ b/api/tcpConnection.js @@ -6,7 +6,7 @@ */ // 引用TCP插件 -const TCPSocket = uni.requireNativePlugin('Aimer-TCPPlugin'); +// const TCPSocket = uni.requireNativePlugin('Aimer-TCPPlugin'); // const TCPSocket = uni.requireNativePlugin("Aimer-TCPPlugin"); // TCP连接配置 diff --git a/package.json b/package.json index 14c932c..6bf25b1 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,8 @@ { + "scripts": { + "dev:h5": "cross-env NODE_OPTIONS=\"--max-old-space-size=4096\" uni build --watch", + "build:h5": "cross-env NODE_OPTIONS=\"--max-old-space-size=4096\" uni build" + }, "dependencies": { "@dcloudio/uni-ui": "^1.5.11", "@element-plus/icons-vue": "^2.3.2", @@ -8,5 +12,8 @@ "pinia": "^3.0.3", "pinia-plugin-persistedstate": "^4.5.0", "vue-i18n": "^9.14.5" + }, + "devDependencies": { + "cross-env": "^7.0.3" } } diff --git a/pages.json b/pages.json index 35e10c6..0e4afde 100644 --- a/pages.json +++ b/pages.json @@ -295,7 +295,8 @@ "navigationStyle": "custom", "disableSwipeBack": true, "titleNView": false, - "bounce": false + "bounce": false, + "pageOrientation": "auto" } }, { diff --git a/pages/customStockList/customStockList.vue b/pages/customStockList/customStockList.vue index 5d02923..9c93df9 100644 --- a/pages/customStockList/customStockList.vue +++ b/pages/customStockList/customStockList.vue @@ -103,6 +103,13 @@ +