-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
1.3.5
Environment
Vue 2.5, vue-ant-design 1.3.5
Reproduction link
Steps to reproduce
main.js
import Vue from 'vue';
import Antd from 'ant-design-vue';
import App from './App.vue';
import router from './router';
import store from './store/index';
import './styles/theme.less';
Vue.config.productionTip = false;
Vue.use(Antd);
// message.config({ top: '100px' }); 无效
// Vue.message.config({ top: '100px' }); 无效
// Vue.$message.config({ top: '100px' }); 无效
// $message.config({ top: '100px' }); 无效
new Vue({
router,
store,
render: (h) => h(App),
}).$mount('#app');
What is expected?
文档中应该提供详细的全局配置方法
What is actually happening?
文档没有提供任何帮助
这个文档的体验真的很糟糕