xianniu-ui 0.7.3 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/style/card.css +1 -1
- package/lib/style/index.css +1 -1
- package/lib/xianniu-ui.common.js +35314 -107706
- package/lib/xianniu-ui.umd.js +35314 -107706
- package/lib/xianniu-ui.umd.min.js +14 -37
- package/package.json +1 -1
- package/packages/style/src/card.scss +2 -2
- package/src/oss/index.js +1 -2
package/package.json
CHANGED
package/src/oss/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
const OSS = require('ali-oss')
|
|
2
2
|
import $dayjs from '@/utils/dayjs'
|
|
3
3
|
const { v4: uuidv4 } = require('uuid');
|
|
4
|
-
import { Message } from 'element-ui';
|
|
5
4
|
class Client {
|
|
6
5
|
constructor(params = {}) {
|
|
7
6
|
this.uploadHost = null
|
|
@@ -36,7 +35,7 @@ class Client {
|
|
|
36
35
|
getStsToken(file) {
|
|
37
36
|
return new Promise((resolve, reject) => {
|
|
38
37
|
if (!this.stsUrl) {
|
|
39
|
-
|
|
38
|
+
console.error('获取临时凭证地址不能为空');
|
|
40
39
|
file.onError()
|
|
41
40
|
return
|
|
42
41
|
}
|