lrf402788946 5 anni fa
parent
commit
7537329498
2 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0 1
      components/data-table.vue
  2. 0 1
      utils/axios-wrapper.js

+ 0 - 1
components/data-table.vue

@@ -1,5 +1,4 @@
 <template>
 <template>
-  <!-- TODO 多选回显显示有问题.没显示对号 row-key="id"  @selection-change="rows => handleSelectionChange(rows, 'select')"  -->
   <div id="data-table">
   <div id="data-table">
     <el-table
     <el-table
       ref="table"
       ref="table"

+ 0 - 1
utils/axios-wrapper.js

@@ -53,7 +53,6 @@ export default class AxiosWrapper {
 
 
   async $request(uri, data, query, options) {
   async $request(uri, data, query, options) {
     if (!uri) console.error('uri不能为空');
     if (!uri) console.error('uri不能为空');
-    // TODO: 合并query和options
     if (_.isObject(query) && _.isObject(options)) {
     if (_.isObject(query) && _.isObject(options)) {
       const params = query.params ? query.params : query;
       const params = query.params ? query.params : query;
       options = { ...options, params };
       options = { ...options, params };