zydx-plus 1.35.507 → 1.35.508

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": "zydx-plus",
3
- "version": "1.35.507",
3
+ "version": "1.35.508",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -206,17 +206,25 @@ export default {
206
206
  },
207
207
  computed: {
208
208
  position() {
209
- if(this.autoHeight) {
210
- return `top:${this.y}px;left:${this.x}px;width:${this.footRightOffset}px;min-height:${this.footDownOffset}px;`;
211
- } else {
212
- return `top:${this.y}px;left:${this.x}px;width:${this.footRightOffset}px;height:${this.footDownOffset}px;`;
209
+ if(this.zIndex > 0) {
210
+ if(this.autoHeight) {
211
+ return `top:${this.y}px;left:${this.x}px;width:${this.footRightOffset}px;min-height:${this.footDownOffset}px;z-index: ${this.zIndex}`;
212
+ } else {
213
+ return `top:${this.y}px;left:${this.x}px;width:${this.footRightOffset}px;height:${this.footDownOffset}px;z-index: ${this.zIndex}`;
214
+ }
215
+ }else {
216
+ if(this.autoHeight) {
217
+ return `top:${this.y}px;left:${this.x}px;width:${this.footRightOffset}px;min-height:${this.footDownOffset}px;`;
218
+ } else {
219
+ return `top:${this.y}px;left:${this.x}px;width:${this.footRightOffset}px;height:${this.footDownOffset}px;`;
220
+ }
213
221
  }
214
222
  },
215
223
  },
216
224
  emits: ['dragStatus', 'close', 'enlarge','updateDrag','minimize','dragMouseup'],
217
225
  methods: {
218
226
  dragTap() {
219
- if(this.zIndex <= 0) return
227
+ if(this.zIndex > 0) return
220
228
  let pop = JSON.parse(sessionStorage.getItem('pop'))
221
229
  for(let i = 0; i< pop.length; i++) {
222
230
  if(document.getElementById(pop[i]) === null) continue
package/src/index.js CHANGED
@@ -89,7 +89,7 @@ function install(app) {
89
89
  }
90
90
 
91
91
  export default {
92
- version: '1.35.50',
92
+ version: '1.35.508',
93
93
  install,
94
94
  Calendar,
95
95
  Message,