leisure-core 0.4.49 → 0.4.51

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.
@@ -35,6 +35,9 @@
35
35
  scope.row[column.prop]
36
36
  }}</a>
37
37
  </span>
38
+ <span v-else-if="column.type && column.type === 'bool'">
39
+ {{ scope.row[column.prop] == 1 ? "是" : "否" }}
40
+ </span>
38
41
  <span v-else>
39
42
  {{ scope.row[column.prop] }}
40
43
  </span>
@@ -106,6 +109,17 @@
106
109
  :max="item.max || 9999999999"
107
110
  label="item.label||''"
108
111
  />
112
+ <el-radio-group
113
+ v-else-if="item.type === 'radio'"
114
+ v-model="formPop[item.prop]"
115
+ >
116
+ <el-radio
117
+ v-for="(option, index) in item.options"
118
+ :label="option.id"
119
+ :key="index + '_radio'"
120
+ >{{ option.label }}</el-radio
121
+ >
122
+ </el-radio-group>
109
123
  <el-select
110
124
  v-else-if="item.type === 'select'"
111
125
  v-model="formPop[item.prop]"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leisure-core",
3
- "version": "0.4.49",
3
+ "version": "0.4.51",
4
4
  "description": "leisure-core是leisure-ui-core的简称,是京心数据基于vue2.0开发的一套后台系统框架与js库,包含登录,首页框架等",
5
5
  "private": false,
6
6
  "author": "北方乐逍遥(zcx7878)",