✨(component): row 与 col 的所有属性同时兼容 number 与 string 类型
This commit is contained in:
parent
77be989540
commit
a4094f5d8a
@ -28,11 +28,11 @@ export default (): UserConfigExport => {
|
||||
compress: {
|
||||
drop_console: true,
|
||||
drop_debugger: true,
|
||||
pure_funcs: ['console.log']
|
||||
pure_funcs: ["console.log"],
|
||||
},
|
||||
output: {
|
||||
comments: true
|
||||
}
|
||||
comments: true,
|
||||
},
|
||||
},
|
||||
rollupOptions: {
|
||||
output: {
|
||||
|
@ -70,11 +70,11 @@ export default (): UserConfigExport => {
|
||||
compress: {
|
||||
drop_console: true,
|
||||
drop_debugger: true,
|
||||
pure_funcs: ['console.log']
|
||||
pure_funcs: ["console.log"],
|
||||
},
|
||||
output: {
|
||||
comments: true
|
||||
}
|
||||
comments: true,
|
||||
},
|
||||
},
|
||||
rollupOptions: {
|
||||
input: inputs,
|
||||
|
@ -28,11 +28,11 @@ export default (): UserConfigExport => {
|
||||
compress: {
|
||||
drop_console: true,
|
||||
drop_debugger: true,
|
||||
pure_funcs: ['console.log']
|
||||
pure_funcs: ["console.log"],
|
||||
},
|
||||
output: {
|
||||
comments: true
|
||||
}
|
||||
comments: true,
|
||||
},
|
||||
},
|
||||
rollupOptions: {
|
||||
output: {
|
||||
|
@ -182,7 +182,7 @@ const selectBar = (item: any, selectIndex: number, parentIndex: number) => {
|
||||
treeData.value[index].selectIndex = null;
|
||||
treeData.value[index].data = [];
|
||||
}
|
||||
if (!item.children||item.children.length===0) {
|
||||
if (!item.children || item.children.length === 0) {
|
||||
//输入框数据更新
|
||||
let data: any[] = [];
|
||||
function extractData(orginData: any, dataContainer: any, index: number) {
|
||||
|
@ -8,14 +8,14 @@ export default {
|
||||
import { computed } from "vue";
|
||||
|
||||
export interface LayColProps {
|
||||
md?: string;
|
||||
xs?: string;
|
||||
sm?: string;
|
||||
lg?: string;
|
||||
mdOffset?: string;
|
||||
xsOffset?: string;
|
||||
smOffset?: string;
|
||||
lgOffset?: string;
|
||||
md?: string | number;
|
||||
xs?: string | number;
|
||||
sm?: string | number;
|
||||
lg?: string | number;
|
||||
mdOffset?: string | number;
|
||||
xsOffset?: string | number;
|
||||
smOffset?: string | number;
|
||||
lgOffset?: string | number;
|
||||
}
|
||||
|
||||
const props = defineProps<LayColProps>();
|
||||
|
@ -9,7 +9,7 @@ import { computed } from "vue";
|
||||
import "./index.less";
|
||||
|
||||
export interface LayRowProps {
|
||||
space?: string;
|
||||
space?: string | number;
|
||||
}
|
||||
|
||||
const props = defineProps<LayRowProps>();
|
||||
|
@ -24,11 +24,11 @@ export default defineConfig({
|
||||
compress: {
|
||||
drop_console: true,
|
||||
drop_debugger: true,
|
||||
pure_funcs: ['console.log']
|
||||
pure_funcs: ["console.log"],
|
||||
},
|
||||
output: {
|
||||
comments: true
|
||||
}
|
||||
comments: true,
|
||||
},
|
||||
},
|
||||
rollupOptions: {
|
||||
output: {
|
||||
|
@ -25,11 +25,11 @@ export default defineConfig({
|
||||
compress: {
|
||||
drop_console: true,
|
||||
drop_debugger: true,
|
||||
pure_funcs: ['console.log']
|
||||
pure_funcs: ["console.log"],
|
||||
},
|
||||
output: {
|
||||
comments: true
|
||||
}
|
||||
comments: true,
|
||||
},
|
||||
},
|
||||
rollupOptions: {
|
||||
output: {
|
||||
|
Loading…
Reference in New Issue
Block a user