vue2_frontend init..
This commit is contained in:
parent
b3433bcef6
commit
c1c9d685c8
@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<!-- 참조: https://codesandbox.io/s/3v0m1?file=/src/components/board/BoardList.vue -->
|
<!-- 참조: https://codesandbox.io/s/3v0m1?file=/src/components/board/BoardList.vue -->
|
||||||
<div>
|
<div>
|
||||||
|
<ListComponent />
|
||||||
<b-container fluid>
|
<b-container fluid>
|
||||||
<b-row>
|
<b-row>
|
||||||
<b-col class="border">
|
<b-col class="border">
|
||||||
@ -44,7 +45,7 @@
|
|||||||
</b-col>
|
</b-col>
|
||||||
</b-row>
|
</b-row>
|
||||||
<b-row class="overflow-auto">
|
<b-row class="overflow-auto">
|
||||||
<b-table-lite
|
<b-table
|
||||||
ref="selectableTable"
|
ref="selectableTable"
|
||||||
:items="items"
|
:items="items"
|
||||||
:fields="fields"
|
:fields="fields"
|
||||||
@ -117,7 +118,7 @@
|
|||||||
<strong>Loading...</strong>
|
<strong>Loading...</strong>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</b-table-lite>
|
</b-table>
|
||||||
</b-row>
|
</b-row>
|
||||||
<b-row>
|
<b-row>
|
||||||
<b-col>
|
<b-col>
|
||||||
@ -150,13 +151,13 @@
|
|||||||
<script>
|
<script>
|
||||||
// 참조 : https://vuejsexamples.com/vuejs-tables-and-select-all-checkbox/
|
// 참조 : https://vuejsexamples.com/vuejs-tables-and-select-all-checkbox/
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
// import ListComponent from '@/components/common/ListComponent.vue'
|
import ListComponent from '@/components/common/ListComponent.vue'
|
||||||
axios.defaults.baseURL = 'http://localhost:3000'
|
axios.defaults.baseURL = 'http://localhost:3000'
|
||||||
axios.defaults.headers.post['Content-Type'] = 'application/json;charset=utf-8'
|
axios.defaults.headers.post['Content-Type'] = 'application/json;charset=utf-8'
|
||||||
axios.defaults.headers.post['Access-Control-Allow-Origin'] = '*'
|
axios.defaults.headers.post['Access-Control-Allow-Origin'] = '*'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
//ListComponent: ListComponent
|
ListComponent
|
||||||
},
|
},
|
||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
@ -223,7 +224,7 @@ export default {
|
|||||||
search: null, //DB검색
|
search: null, //DB검색
|
||||||
// 속성옵션
|
// 속성옵션
|
||||||
commonTableAttributes: {
|
commonTableAttributes: {
|
||||||
stickyHeader: false,
|
stickyHeader: '400px',
|
||||||
noBorderCollapse: false,
|
noBorderCollapse: false,
|
||||||
striped: true,
|
striped: true,
|
||||||
hover: true,
|
hover: true,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user