mirror of
https://github.com/youzan/vant.git
synced 2025-12-22 01:07:29 +08:00
[Improvement] Dialog: optimize style without content (#1233)
This commit is contained in:
@@ -40,7 +40,7 @@ export function triggerDrag(el, x = 0, y = 0) {
|
||||
|
||||
// promisify setTimeout
|
||||
export function later(delay) {
|
||||
return new Promise(function(resolve) {
|
||||
return new Promise(resolve => {
|
||||
setTimeout(resolve, delay);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user