[new feature] ImagePreview: add closeOnPopstate prop

This commit is contained in:
陈嘉涵
2019-05-24 20:13:50 +08:00
parent 30ddcb5daa
commit b572c76245
7 changed files with 53 additions and 2 deletions
+2 -1
View File
@@ -15,7 +15,8 @@ const defaultConfig = {
showIndex: true,
asyncClose: false,
startPosition: 0,
showIndicators: false
showIndicators: false,
closeOnPopstate: false
};
const initInstance = () => {