sun-biz 0.0.2-beta.3 → 0.0.2-beta.4
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/dist/components/index.js +14 -12
- package/dist/index.js +14 -12
- package/package.json +1 -1
package/dist/components/index.js
CHANGED
|
@@ -206,19 +206,21 @@ const TableColumn = (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
|
|
|
206
206
|
header: (scope)=>{
|
|
207
207
|
if (column.headerRender) return column.headerRender(scope);
|
|
208
208
|
if (column.prop && slots[`${handleProp(column.prop)}Header`]) return slots[`${handleProp(column.prop)}Header`](scope);
|
|
209
|
-
return
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
column.required && (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("span", {
|
|
213
|
-
class: "mr-2",
|
|
214
|
-
style: {
|
|
215
|
-
color: '#f56c6c'
|
|
216
|
-
}
|
|
209
|
+
return [
|
|
210
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("span", {
|
|
211
|
+
class: column.columnClass
|
|
217
212
|
}, [
|
|
218
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
213
|
+
column.required && (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("span", {
|
|
214
|
+
class: "mr-2",
|
|
215
|
+
style: {
|
|
216
|
+
color: '#f56c6c'
|
|
217
|
+
}
|
|
218
|
+
}, [
|
|
219
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("*")
|
|
220
|
+
]),
|
|
221
|
+
column.label
|
|
222
|
+
], 2)
|
|
223
|
+
];
|
|
222
224
|
},
|
|
223
225
|
_: 1
|
|
224
226
|
}, 16, [
|
package/dist/index.js
CHANGED
|
@@ -174,19 +174,21 @@ const TableColumn = (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
|
|
|
174
174
|
header: (scope)=>{
|
|
175
175
|
if (column.headerRender) return column.headerRender(scope);
|
|
176
176
|
if (column.prop && slots[`${handleProp(column.prop)}Header`]) return slots[`${handleProp(column.prop)}Header`](scope);
|
|
177
|
-
return
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
column.required && (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("span", {
|
|
181
|
-
class: "mr-2",
|
|
182
|
-
style: {
|
|
183
|
-
color: '#f56c6c'
|
|
184
|
-
}
|
|
177
|
+
return [
|
|
178
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("span", {
|
|
179
|
+
class: column.columnClass
|
|
185
180
|
}, [
|
|
186
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
181
|
+
column.required && (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("span", {
|
|
182
|
+
class: "mr-2",
|
|
183
|
+
style: {
|
|
184
|
+
color: '#f56c6c'
|
|
185
|
+
}
|
|
186
|
+
}, [
|
|
187
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("*")
|
|
188
|
+
]),
|
|
189
|
+
column.label
|
|
190
|
+
], 2)
|
|
191
|
+
];
|
|
190
192
|
},
|
|
191
193
|
_: 1
|
|
192
194
|
}, 16, [
|