Skip to content

Commit d6e21f5

Browse files
committed
fix(recycle-list): change warning to warn
1 parent 3fefd10 commit d6e21f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/recycle-list/recycle-list.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858
<script>
5959
import CubeLoading from '../loading/loading.vue'
60-
import { warning } from '../../common/helpers/debug.js'
60+
import { warn } from '../../common/helpers/debug.js'
6161
import { isUndef } from '../../common/helpers/util.js'
6262
6363
const COMPONENT_NAME = 'cube-recycle-list'
@@ -138,7 +138,7 @@
138138
checkPromiseCompatibility () {
139139
/* istanbul ignore if */
140140
if (isUndef(window.Promise)) {
141-
warning(PROMISE_ERROR)
141+
warn(PROMISE_ERROR)
142142
}
143143
},
144144
init() {

0 commit comments

Comments
 (0)