公告板
版本库
filestore
活动
搜索
登录
main
/
OlyMEBGProduct
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
Merge branch '【委托】【重要-询价】询价等级和询价金额计算点问题'
付煜
2022-03-31
63c2873a64e260d65aa5e6501552698f47a6c6b0
[OlyMEBGProduct.git]
/
force-app
/
main
/
default
/
aura
/
FormattedDate
/
FormattedDateController.js
1
2
3
4
5
6
7
({
valueChangeHandler : function(component) {
var value = component.get("v.value");
var formattedValue = new Date(value).toLocaleString('en-US', {month: 'short', year: 'numeric', day: 'numeric'});
component.set("v.formattedValue", formattedValue);
}
})