vue-cli3

官网

https://cli.vuejs.org/zh/

ie11 的问题

https://stackoverflow.com/questions/52056358/vue-cli-3-project-not-working-on-ie-11

Install babel-polyfill using command "npm install --save babel-polyfill".
"Import babel-polyfill" in your main.js or index.js file at the top of above all imported packages.

三元不能检测 深度属性值变化.

  • 现象:
    {{ uploadAsset.importing ? "正在导入" : "上传" }}

在数据Ajax之后, this.uploadAsset.importing = false , 不起作用.

  • 方案:
    this.uploadAsset = Object.assign({}, this.uploadAsset, {importing: false});

    或者

把 importing 提到数据最顶级

原文地址:https://www.cnblogs.com/newsea/p/9871965.html