mirror of https://github.com/apache/cloudstack.git
app: use ConfigProvider than LocaleProvider
Fixes console warning that suggests to use ConfigProvider instead of LocaleProvider Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
773d31b140
commit
9ad4c476b9
|
|
@ -16,11 +16,11 @@
|
|||
// under the License.
|
||||
|
||||
<template>
|
||||
<a-locale-provider :locale="locale">
|
||||
<a-config-provider :locale="locale">
|
||||
<div id="app">
|
||||
<router-view/>
|
||||
</div>
|
||||
</a-locale-provider>
|
||||
</a-config-provider>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
/* eslint-disable */
|
||||
import Vue from 'vue'
|
||||
import {
|
||||
LocaleProvider,
|
||||
ConfigProvider,
|
||||
Layout,
|
||||
Input,
|
||||
InputNumber,
|
||||
|
|
@ -59,7 +59,7 @@ import {
|
|||
notification
|
||||
} from 'ant-design-vue'
|
||||
|
||||
Vue.use(LocaleProvider)
|
||||
Vue.use(ConfigProvider)
|
||||
Vue.use(Layout)
|
||||
Vue.use(Input)
|
||||
Vue.use(InputNumber)
|
||||
|
|
|
|||
Loading…
Reference in New Issue