Skip to content

Commit

Permalink
[feature]{CrudTable}: 细节调整
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Mar 22, 2019
1 parent fccfb8c commit 9964088
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ export default {
this.$emit(args[0], ...Array.from(args).slice(1));
},
Refresh() {
console.log(111)
this.fetchData(this.listQuery);
},
Expand Down Expand Up @@ -189,10 +188,11 @@ export default {
this.dialogFormVisible = true;
},
async Detail(id) {
this.dialogStatus = 'update';
this.dialogStatus = 'detail';
const response = await this.crud('detail', this.tableName, { id });
this.formValues = response.data;
this.dialogFormVisible = true;
this.disabled = true
},
},
}
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import store from './store'
import '@/icons/index' // icon
import '@/permission' // 权限import axios from 'axios';
import '@/styles/index.scss' // global css
import CrudTable from '@/components/CrudTable';
import CrudTable from '@/components/CrudTable/CrudTable.vue';
import { newGuid } from '@/utils/index'
import crud from '@/api/Public/crud'

Expand Down

0 comments on commit 9964088

Please sign in to comment.