-
-
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.6.1
Environment
"ant-design-vue": "^1.6.1", "core-js": "^3.6.4", "vue": "^2.6.11", "vue-router": "^3.1.6", "vuex": "^3.1.3"
Reproduction link
Steps to reproduce
vue create project
cnpm i --save ant-design-vue
// main.js
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'
Vue.config.productionTip = false
Vue.use(Antd)
new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')
npm run serve
What is expected?
没有‘wran’或者告诉我为什么会有
What is actually happening?
warn 内容
utils.js?9ec1:195 [VueTypes warn]: object - value "" should be of type "Object"
warn @ utils.js?9ec1:195
validateType @ utils.js?9ec1:177
value @ utils.js?9ec1:80
IDialogPropTypes @ IDialogPropTypes.js?7214:38
eval @ Dialog.js?86cd:12
./node_modules/_ant-design-vue@1.6.1@ant-design-vue/es/vc-dialog/Dialog.js @ chunk-vendors.js:3514
__webpack_require__ @ app.js:854
fn @ app.js:151
eval @ DialogWrap.js?8fbf:1
./node_modules/_ant-design-vue@1.6.1@ant-design-vue/es/vc-dialog/DialogWrap.js @ chunk-vendors.js:3526
__webpack_require__ @ app.js:854
fn @ app.js:151
eval @ index.js?dd31:1
./node_modules/_ant-design-vue@1.6.1@ant-design-vue/es/vc-dialog/index.js @ chunk-vendors.js:3562
__webpack_require__ @ app.js:854
fn @ app.js:151
eval @ Modal.js?0941:1
./node_modules/_ant-design-vue@1.6.1@ant-design-vue/es/modal/Modal.js @ chunk-vendors.js:1954
__webpack_require__ @ app.js:854
fn @ app.js:151
eval @ index.js?156a:1
./node_modules/_ant-design-vue@1.6.1@ant-design-vue/es/modal/index.js @ chunk-vendors.js:1978
__webpack_require__ @ app.js:854
fn @ app.js:151
eval @ index.js?9efa:1
./node_modules/_ant-design-vue@1.6.1@ant-design-vue/es/index.js @ chunk-vendors.js:1618
__webpack_require__ @ app.js:854
fn @ app.js:151
eval @ main.js:14
./src/main.js @ app.js:1228
__webpack_require__ @ app.js:854
fn @ app.js:151
1 @ app.js:1301
__webpack_require__ @ app.js:854
checkDeferredModules @ app.js:46
(anonymous) @ app.js:994
(anonymous) @ app.js:997
Show 7 more frames
utils.js?9ec1:195 [VueTypes warn]: object - invalid default value: ""
warn @ utils.js?9ec1:195
value @ utils.js?9ec1:81
IDialogPropTypes @ IDialogPropTypes.js?7214:38
eval @ Dialog.js?86cd:12
./node_modules/_ant-design-vue@1.6.1@ant-design-vue/es/vc-dialog/Dialog.js @ chunk-vendors.js:3514
__webpack_require__ @ app.js:854
fn @ app.js:151
eval @ DialogWrap.js?8fbf:1
./node_modules/_ant-design-vue@1.6.1@ant-design-vue/es/vc-dialog/DialogWrap.js @ chunk-vendors.js:3526
__webpack_require__ @ app.js:854
fn @ app.js:151
eval @ index.js?dd31:1
./node_modules/_ant-design-vue@1.6.1@ant-design-vue/es/vc-dialog/index.js @ chunk-vendors.js:3562
__webpack_require__ @ app.js:854
fn @ app.js:151
eval @ Modal.js?0941:1
./node_modules/_ant-design-vue@1.6.1@ant-design-vue/es/modal/Modal.js @ chunk-vendors.js:1954
__webpack_require__ @ app.js:854
fn @ app.js:151
eval @ index.js?156a:1
./node_modules/_ant-design-vue@1.6.1@ant-design-vue/es/modal/index.js @ chunk-vendors.js:1978
__webpack_require__ @ app.js:854
fn @ app.js:151
eval @ index.js?9efa:1
./node_modules/_ant-design-vue@1.6.1@ant-design-vue/es/index.js @ chunk-vendors.js:1618
__webpack_require__ @ app.js:854
fn @ app.js:151
eval @ main.js:14
./src/main.js @ app.js:1228
__webpack_require__ @ app.js:854
fn @ app.js:151
1 @ app.js:1301
__webpack_require__ @ app.js:854
checkDeferredModules @ app.js:46
(anonymous) @ app.js:994
(anonymous) @ app.js:997
Show 6 more frames
utils.js?9ec1:195 [VueTypes warn]: object - value "" should be of type "Object"
warn @ utils.js?9ec1:195
validateType @ utils.js?9ec1:177
value @ utils.js?9ec1:80
IDialogPropTypes @ IDialogPropTypes.js?7214:38
eval @ DialogWrap.js?8fbf:7
./node_modules/_ant-design-vue@1.6.1@ant-design-vue/es/vc-dialog/DialogWrap.js @ chunk-vendors.js:3526
__webpack_require__ @ app.js:854
fn @ app.js:151
eval @ index.js?dd31:1
./node_modules/_ant-design-vue@1.6.1@ant-design-vue/es/vc-dialog/index.js @ chunk-vendors.js:3562
__webpack_require__ @ app.js:854
fn @ app.js:151
eval @ Modal.js?0941:1
./node_modules/_ant-design-vue@1.6.1@ant-design-vue/es/modal/Modal.js @ chunk-vendors.js:1954
__webpack_require__ @ app.js:854
fn @ app.js:151
eval @ index.js?156a:1
./node_modules/_ant-design-vue@1.6.1@ant-design-vue/es/modal/index.js @ chunk-vendors.js:1978
__webpack_require__ @ app.js:854
fn @ app.js:151
eval @ index.js?9efa:1
./node_modules/_ant-design-vue@1.6.1@ant-design-vue/es/index.js @ chunk-vendors.js:1618
__webpack_require__ @ app.js:854
fn @ app.js:151
eval @ main.js:14
./src/main.js @ app.js:1228
__webpack_require__ @ app.js:854
fn @ app.js:151
1 @ app.js:1301
__webpack_require__ @ app.js:854
checkDeferredModules @ app.js:46
(anonymous) @ app.js:994
(anonymous) @ app.js:997
Show 3 more frames