提交
This commit is contained in:
15
甲情_甲意/miniprogram/node_modules/antd-mini/es/Divider/index.sjs
generated
vendored
Normal file
15
甲情_甲意/miniprogram/node_modules/antd-mini/es/Divider/index.sjs
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
var getLineWidthFlex = function getLineWidthFlex(textPosition, text) {
|
||||
if (!text) {
|
||||
return [1, 0];
|
||||
}
|
||||
if (textPosition === 'left') {
|
||||
return [1, 5];
|
||||
}
|
||||
if (textPosition === 'right') {
|
||||
return [5, 1];
|
||||
}
|
||||
return [1, 1];
|
||||
};
|
||||
export default {
|
||||
getLineWidthFlex: getLineWidthFlex
|
||||
};
|
Reference in New Issue
Block a user