We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vue-cli3 新创建一个项目
// 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')
无其他修改代码。 在浏览器会报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
虽然没有影响项目运行,但是不知道错误出现在哪里,找了大半天。最后发现新项目引入也会有这个问题
The text was updated successfully, but these errors were encountered:
Your issue has been closed because it does not conform to our issue requirements. Please use the Issue Helper to create an issue, thank you! 为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。你可以通过 issue 助手 来创建 issue 以方便我们定位错误。谢谢配合!
Sorry, something went wrong.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
vue-cli3 新创建一个项目
无其他修改代码。
在浏览器会报warn
虽然没有影响项目运行,但是不知道错误出现在哪里,找了大半天。最后发现新项目引入也会有这个问题
The text was updated successfully, but these errors were encountered: