Skip to content

Commit 2a0099d

Browse files
luozhang002binghaiwang
authored andcommitted
fix: repair example (#502)
1 parent 0f3b21b commit 2a0099d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"babel-loader": "^7.1.4"
2727
},
2828
"dependencies": {
29-
"ali-oss": "^5.2.0",
29+
"ali-oss": "^6.0.0",
3030
"bootstrap": "^4.1.1",
3131
"jquery": "^3.3.1"
3232
}

example/src/main.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
require('./style.css')
44
const $ = require('jquery');
55
// if use in react , you can use require('ali-oss/dist/aliyun-oss-sdk.js'), or see webpack.prod.js
6+
// import local for test
7+
// const OSS = require('../../lib/browser.js');
68
const OSS = require('ali-oss');
79
const crypto = require('crypto');
810

0 commit comments

Comments
 (0)