element-ui 版本升级之后出现的一些问题

vue 打印的警告信息

warning in ./~/vux/src/components/popup-radio/index.vue

(Emitted value instead of an instance of Error) the "scope" attribute for scoped slots have been deprecated and replaced by "slot-scope" since 2.5. The new "slot-scope" attribute can also be used on plain elements in addition to to denote scoped slots.

@ .//vux/src/components/popup-radio/index.vue 9:2-272
@ .//babel-loader/lib!.//vux-loader/src/script-loader.js!.//vue-loader/lib/selector.js?type=script&index=0!./src/views/Home/children/Match/Match.vue
@ ./src/views/Home/children/Match/Match.vue
@ ./src/views/Home/children/Match/index.js
@ ./src/router/Home/index.js
@ ./src/router/index.js
@ ./src/main.js
@ multi ./build/dev-client ./src/main.js

warning in ./~/vux/src/components/x-address/index.vue

(Emitted value instead of an instance of Error) the "scope" attribute for scoped slots have been deprecated and replaced by "slot-scope" since 2.5. The new "slot-scope" attribute can also be used on plain elements in addition to to denote scoped slots.

@ .//vux/src/components/x-address/index.vue 5:2-272
@ .//babel-loader/lib!.//vux-loader/src/script-loader.js!.//vue-loader/lib/selector.js?type=script&index=0!./src/views/Home/children/Match/Match.vue
@ ./src/views/Home/children/Match/Match.vue
@ ./src/views/Home/children/Match/index.js
@ ./src/router/Home/index.js
@ ./src/router/index.js
@ ./src/main.js
@ multi ./build/dev-client ./src/main.js

问题出在 uitable组件上

升级之前

<el-table :data="data" border">
      <el-table-column  prop="productDescription" label="描述" width="180">
          <template scope="scope">{{scope.row.productDescription || '暂无信息'}}</template>
      </el-table-column>
</el-table    >

升级之后要这么写

<el-table :data="data" border">
      <el-table-column  prop="productDescription" label="描述" width="180">
          <template slot-scope="scope">{{scope.row.productDescription || '暂无信息'}}</template>
      </el-table-column>
</el-table    >

更换了scope属性