eoss-ui 0.8.43 → 0.8.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eoss-ui",
3
- "version": "0.8.43",
3
+ "version": "0.8.44",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
@@ -918,7 +918,7 @@
918
918
  />
919
919
  </el-form-item>
920
920
  </el-form>
921
- <div class="es-info">
921
+ <div class="es-info" v-show="btnType != 'default'">
922
922
  <ProcessReject
923
923
  v-if="btnType === 'reject'"
924
924
  ref="reject"
@@ -1011,9 +1011,9 @@
1011
1011
  >
1012
1012
  <el-button
1013
1013
  v-show="isSubmitButtonShowAgreeAndDisagree != 1"
1014
- v-for="item of hideBtn || isHideTemporarySave
1015
- ? btnList.slice(0, 1)
1016
- : btnList"
1014
+ v-for="item of (hideBtn || isHideTemporarySave
1015
+ ? btnList.filter(item => item.event !== 'save')
1016
+ : btnList)"
1017
1017
  :key="item.name"
1018
1018
  :type="item.type"
1019
1019
  :style="btnStyle"
@@ -954,15 +954,15 @@
954
954
  >
955
955
  <el-button
956
956
  v-show="isSubmitButtonShowAgreeAndDisagree != 1"
957
- v-for="item of hideBtn || isHideTemporarySave
958
- ? btnList.slice(0, 1)
959
- : btnList"
957
+ v-for="item of (hideBtn || isHideTemporarySave
958
+ ? btnList.filter(item => item.event !== 'save')
959
+ : btnList)"
960
960
  :key="item.name"
961
961
  :type="item.type"
962
962
  :style="btnStyle"
963
963
  @click="item.event === 'sub' ? subProcess() : saveInfo(false, item)"
964
964
  >
965
- {{ item.event == 'save' ? saveButtonName : item.text }}
965
+ {{ item.event == 'save' ? saveButtonName : item.text }}222
966
966
  </el-button>
967
967
 
968
968
  <div
@@ -1005,7 +1005,7 @@
1005
1005
  >
1006
1006
  <el-button
1007
1007
  v-show="isSubmitButtonShowAgreeAndDisagree != 1"
1008
- v-for="item of btnList.slice(1)"
1008
+ v-for="item of btnList.filter(item => item.event !== 'save')"
1009
1009
  :key="item.name"
1010
1010
  :type="item.type"
1011
1011
  :style="btnStyle"
package/src/index.js CHANGED
@@ -127,7 +127,7 @@ if (typeof window !== 'undefined' && window.Vue) {
127
127
  }
128
128
 
129
129
  export default {
130
- version: '0.8.43',
130
+ version: '0.8.44',
131
131
  install,
132
132
  Archives,
133
133
  Button,