eztech-core-components 1.0.27 → 1.0.29

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.
@@ -86,6 +86,9 @@ export default {
86
86
  methods: {
87
87
  ...mapActions('user', ['logout_locked', 'set_locked']),
88
88
  addIdleListeners () {
89
+ if (this.isLocked) {
90
+ return
91
+ }
89
92
  if (this.isDevelopment) {
90
93
  return
91
94
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eztech-core-components",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -20,7 +20,7 @@ export const getDefaultConfig = (options) => {
20
20
  const axios = {
21
21
  baseURL: process.env.BASE_URL_SERVER || process.env.BASE_URL,
22
22
  browserBaseURL: '/api',
23
- credentials: true,
23
+ withCredentials: true,
24
24
  process: false
25
25
  }
26
26
  if (process.env.FILE_URL && !process.env.FILE_URL?.startsWith('/api')) {
@@ -528,11 +528,6 @@ export const tableMethods = {
528
528
  if (getFormBoolean(col.col_multiple)) {
529
529
  ruleType = 'array'
530
530
  } else if (['manyToOne', 'image', 'file', 'profileImage', 'icon'].includes(col.col_type)) {
531
- // if (['hrm_employees', 'hrm_users'].includes(col.ref_table)) {
532
- // ruleType = 'string'
533
- // } else {
534
- // ruleType = 'object'
535
- // }
536
531
  ruleType = 'object'
537
532
  }
538
533
  if (col.form.required && !col.form.col_readonly) {