doway-coms 1.1.60 → 1.1.62

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": "doway-coms",
3
- "version": "1.1.60",
3
+ "version": "1.1.62",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
package/packages/index.js CHANGED
@@ -67,22 +67,7 @@ VXETable.interceptor.add('event.clearFilter', (params) => {
67
67
  })
68
68
 
69
69
  //表格自定义格式化
70
- VXETable.formats.mixin({
71
- // 格式化下拉选项
72
- formatSelect(scope) {
73
- let dataSource = scope.column.params.dataSource
74
- if (!dataSource) {
75
- // console.error(scope.cellValue + ' 字典缺失')
76
- return scope.cellValue
77
- }
78
- const item = dataSource.find(item => item.value === scope.cellValue)
79
- return item ? item.caption : scope.cellValue
80
- }
81
- })
82
-
83
-
84
-
85
-
70
+ import './utils/gridFormat'
86
71
 
87
72
 
88
73
  const install = function (Vue) {
@@ -242,7 +242,7 @@ export function replaceParamString(
242
242
  to.meta['aliveCacheKey'] = to.params.aliveCacheKey
243
243
  }
244
244
  if(!to.meta.aliveCacheKey){
245
- alert('防呆,子应用没有路由缓存键')
245
+ alert('防呆,子应用没有路由缓存键:'+JSON.stringify(to))
246
246
  }
247
247
  if (to.meta.moduleCode && !store.getters.moduleViewInfo[to.meta.moduleCode]) {
248
248
  store