resolver-egretimp-plus 0.0.211 → 0.0.213

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": "resolver-egretimp-plus",
3
- "version": "0.0.211",
3
+ "version": "0.0.213",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -87,7 +87,7 @@ const componentProps = computed(() => {
87
87
  </script>
88
88
  <style lang="scss">
89
89
  .custom-component-cycle {
90
- width: 100%;
90
+ // width: 100%;
91
91
  .el-card + .el-card {
92
92
  margin-top: 16px;
93
93
  }
@@ -70,7 +70,7 @@ const allInitEvents = {
70
70
  } else {
71
71
  let routeMatchs = null
72
72
  const _absoluteTarget = /^_absoluteTarget:(.+)$/
73
- const matchs = val.match(_absoluteTarget)
73
+ const matchs = val?.match?.(_absoluteTarget)
74
74
  if ( typeof val === 'string' && (routeMatchs = val.match(/^_route:(.*)$/))) {
75
75
  const { config } = this
76
76
  const queryKey = routeMatchs[1]
@@ -82,7 +82,7 @@ const allInitEvents = {
82
82
  val = targetConfig?.bindValue || ''
83
83
  } else {
84
84
  const _assginKey = /^_assgin:(.*)$/
85
- const matchs = val.match(_assginKey)
85
+ const matchs = val?.match?.(_assginKey)
86
86
  if (matchs) {
87
87
  val = matchs?.[1]
88
88
  } else {
@@ -0,0 +1,13 @@
1
+ .el-checkbox {
2
+ --el-checkbox-border-radius: 4px;
3
+ --el-checkbox-input-height: 16px;
4
+ --el-checkbox-input-width: 16px;
5
+ }
6
+ .el-checkbox__inner::after {
7
+ border: 2px solid transparent;
8
+ border-left: 0;
9
+ border-top: 0;
10
+ height: 6px;
11
+ left: 5px;
12
+ top: 2px;
13
+ }
@@ -8,6 +8,7 @@
8
8
  }
9
9
 
10
10
  & > .CustomComponentTable,
11
+ & > .CustomComponentCycle,
11
12
  & > .CustomComponentRow {
12
13
  & > div {
13
14
  margin-right: 16px;
@@ -45,3 +45,5 @@
45
45
  @import './dialog.scss';
46
46
  @import './textarea.scss';
47
47
  @import './text.scss';
48
+ @import './pagination.scss';
49
+ @import './checkbox.scss';
@@ -0,0 +1,8 @@
1
+ .el-pagination {
2
+ // --el-color-primary: #EAF0FE;
3
+ // --el-pagination-border-radius: 4px;
4
+ }
5
+ .el-pagination.is-background .btn-prev.is-active, .el-pagination.is-background .btn-next.is-active, .el-pagination.is-background .el-pager li.is-active {
6
+ background-color: #EAF0FE;
7
+ color: #3271FE;
8
+ }
@@ -121,6 +121,9 @@ export function isPlainObject(obj) {
121
121
  }
122
122
 
123
123
  export function formatDate(date, fmt) {
124
+ if (!date) {
125
+ return ''
126
+ }
124
127
  if (!isDate(date)) {
125
128
  date = new Date(date)
126
129
  }