diff --git a/src/main.js b/src/main.js index a35b7e28..c4cb2a68 100644 --- a/src/main.js +++ b/src/main.js @@ -52,6 +52,9 @@ Vue.prototype.downloadJson = downloadJson Vue.prototype.handleTree = handleTree Vue.prototype.indexContinuation = indexContinuation Vue.prototype.globalUrl = global_ +// 全局设置element-ui Dialog组件的close-on-click-modal close-on-press-escape属性为false +Element.Dialog.props.closeOnClickModal.default = false +Element.Dialog.props.closeOnPressEscape.default = false // 全局组件挂载 Vue.component('DictTag', DictTag) Vue.component('Pagination', Pagination) diff --git a/src/views/home/maintain-balance/components/card-model.vue b/src/views/home/maintain-balance/components/card-model.vue index 5b7bf6d0..104e6994 100644 --- a/src/views/home/maintain-balance/components/card-model.vue +++ b/src/views/home/maintain-balance/components/card-model.vue @@ -5,7 +5,7 @@ {{ state.title }}
{{ state.count }}
-
+
@@ -49,7 +49,7 @@ export default { display: flex; flex-direction: column; align-items: center; - justify-content: center; + justify-content: space-around; border-radius: 12px; color: #fff; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 初始阴影 */ diff --git a/src/views/login1.vue b/src/views/login1.vue index a944fedb..458c4391 100644 --- a/src/views/login1.vue +++ b/src/views/login1.vue @@ -259,7 +259,7 @@ export default { }) try { const res = await iwsLogin({ - ticket: origin.split('ticket%3D')[1].split('%26')[0] || origin.split('ticket=')[1].split('#/')[0], + ticket: origin.split('ticket=')[1].split('#/')[0] || origin.split('ticket%3D')[1].split('%26')[0], sysType: 0 }) console.log('🚀 ~ created ~ res:', res) diff --git a/src/views/material/purchase/goodsAccept/index.vue b/src/views/material/purchase/goodsAccept/index.vue index d1d549fa..76507b4a 100644 --- a/src/views/material/purchase/goodsAccept/index.vue +++ b/src/views/material/purchase/goodsAccept/index.vue @@ -66,27 +66,27 @@ - - + + - + - - + + - + - - + + diff --git a/src/views/material/purchase/goodsArrived/component/home.vue b/src/views/material/purchase/goodsArrived/component/home.vue index bb00004b..b4916150 100644 --- a/src/views/material/purchase/goodsArrived/component/home.vue +++ b/src/views/material/purchase/goodsArrived/component/home.vue @@ -85,24 +85,24 @@ - - + + - + - + - - + + - +