mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-14 06:09:03 +08:00
🎨 Improving structure / format of the code. 删除无用引入和格式调整
This commit is contained in:
1 parent
18e20503f2
commit
bdb215c2f1
22 files changed
+12
-36
No files matched your search
@@ -37,8 +37,8 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {fetchList, getObj, addObj, putObj, delObj} from '@/api/${pathName}'
|
||||
import {tableOption} from '@/const/crud/${pathName}'
|
||||
import {addObj, delObj, fetchList, putObj} from '@/api/'
|
||||
import {tableOption} from '@/const/crud/'
|
||||
import {mapGetters} from 'vuex'
|
||||
|
||||
export default {
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {getObj, addObj, putObj} from '@/api/${pathName}'
|
||||
import {addObj, getObj, putObj} from '@/api/'
|
||||
|
||||
export default {
|
||||
data () {
|
||||
|
||||
@@ -51,9 +51,10 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {fetchList, delObj} from '@/api/${pathName}'
|
||||
import TableForm from './${pathName}-form'
|
||||
import {delObj, fetchList} from '@/api/'
|
||||
import TableForm from './'
|
||||
import {mapGetters} from 'vuex'
|
||||
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user