meixioacomponent 0.3.53 → 0.3.54

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": "meixioacomponent",
3
- "version": "0.3.53",
3
+ "version": "0.3.54",
4
4
  "private": false,
5
5
  "author": "YuRi",
6
6
  "main": "lib/meixioacomponent.umd.min.js",
@@ -38,7 +38,7 @@
38
38
  @formItemConfirm="formItemConfirm"
39
39
  @disableWatcherResult="disableWatcherResult"
40
40
  :disableWatcher="setWatcher(item.key)"
41
- v-if="formType == 'default'"
41
+ v-if="formType == 'default' && item.type"
42
42
  >
43
43
  <template slot="template" v-if="item.type == 'template'">
44
44
  <slot :name="`form-${item.key}`" :scope="module"></slot>
@@ -222,6 +222,7 @@ import baseButtonHandle from '../base/baseButtonHandle/baseButtonHandle.vue' //
222
222
 
223
223
  //
224
224
  import componentConfig from '../../config/componentConfig'
225
+ import { isatty } from 'tty'
225
226
  let canPush = true
226
227
  export default {
227
228
  name: 'baseProTable',
@@ -689,6 +690,8 @@ export default {
689
690
 
690
691
  // 表格如果有滚动条将滚动条拉到顶部
691
692
  scrollToTop() {
693
+ const { isAuth } = this.$props
694
+ if (!isAuth) return
692
695
  let elTable = this.$refs.elTable.$el
693
696
  let target = elTable.querySelector('.el-table__body-wrapper')
694
697
  if (target) {