@@ -301,9 +301,9 @@ export default {
watch: {
advanced (newValue, oldValue) {
const _this = this
- setTimeout(() => {
+ this.$nextTick(() => { // 页面渲染完成后的回调
_this.setTableH()
- }, 400)
+ })
},
'$store.state.app.winHeight' (newValue, oldValue) { // 窗口变更时,需同时更改表格高度
this.setTableH()
@@ -278,9 +278,9 @@ export default {
@@ -356,9 +356,9 @@ export default {
@@ -234,9 +234,9 @@ export default {
@@ -311,9 +311,9 @@ export default {
@@ -267,9 +267,9 @@ export default {
@@ -394,9 +394,9 @@ export default {
@@ -228,9 +228,9 @@ export default {
@@ -344,9 +344,9 @@ export default {
@@ -583,9 +583,9 @@ export default {
@@ -247,9 +247,9 @@ export default {
@@ -296,9 +296,9 @@ export default {
@@ -283,9 +283,9 @@ export default {
@@ -224,9 +224,9 @@ export default {
@@ -240,9 +240,9 @@ export default {
@@ -250,9 +250,9 @@ export default {
@@ -335,9 +335,9 @@ export default {
@@ -412,9 +412,9 @@ export default {
@@ -334,9 +334,9 @@ export default {
@@ -257,9 +257,9 @@ export default {
@@ -450,9 +450,9 @@ export default {
@@ -401,9 +401,9 @@ export default {
@@ -411,9 +411,9 @@ export default {
@@ -187,9 +187,9 @@ export default {
@@ -281,9 +281,9 @@ export default {
@@ -161,9 +161,9 @@ export default {
@@ -109,8 +109,8 @@ const vueConfig = {
proxy: {
'/api': {
// target: 'http://192.168.16.188:8602/ocs-admin',
- target: 'https://t.ocs.360arrow.com/ocs-admin', // 练习
- // target: 'http://p.ocs.360arrow.com/ocs-admin', // 预发布
+ // target: 'https://t.ocs.360arrow.com/ocs-admin', // 练习
+ target: 'http://p.ocs.360arrow.com/ocs-admin', // 预发布
// target: 'http://ocs-admin.360arrow.com/ocs-admin', // 生产
ws: false,
changeOrigin: true,