公告板
版本库
filestore
活动
搜索
登录
wm
/
pipIrrSp
沙盘演示系统应用的微信小程序
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
Initial Commit
zuoxiao
2024-08-28
eb3dbfdcb126beeb1d08f3306ac8f5bbc466e133
[wm/pipIrrSp.git]
/
miniprogram_npm
/
tdesign-miniprogram
/
slider
/
slider.wxs
1
2
3
4
5
6
7
8
9
10
var REGEXP = getRegExp('[$][{value}]{7}');
function getValue(label, value) {
if (label && label === 'true') return value;
if (REGEXP.test(label)) return label.replace(REGEXP, value);
}
module.exports = {
getValue: getValue,
};