mirror of https://github.com/halo-dev/halo
Update tips
parent
cc091fcd2a
commit
913d5ab835
|
@ -1,5 +1,21 @@
|
||||||
@import './index.less';
|
@import './index.less';
|
||||||
|
|
||||||
|
*{
|
||||||
|
&::-webkit-scrollbar {
|
||||||
|
width: 6px;
|
||||||
|
height: 6px;
|
||||||
|
background-color: #eee;
|
||||||
|
}
|
||||||
|
&::-webkit-scrollbar-thumb {
|
||||||
|
background-color: #1890ff;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
&::-webkit-scrollbar-track {
|
||||||
|
background-color: #eee;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
|
@ -217,8 +233,6 @@ body {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
<a-input v-model="menuToCreate.name" />
|
<a-input v-model="menuToCreate.name" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item
|
<a-form-item
|
||||||
label="路径:"
|
label="地址:"
|
||||||
help="* 菜单的路径"
|
help="* 菜单的地址"
|
||||||
>
|
>
|
||||||
<a-input v-model="menuToCreate.url" />
|
<a-input v-model="menuToCreate.url" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
|
@ -138,7 +138,7 @@ const columns = [
|
||||||
scopedSlots: { customRender: 'name' }
|
scopedSlots: { customRender: 'name' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '路径',
|
title: '地址',
|
||||||
dataIndex: 'url'
|
dataIndex: 'url'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
<a-input v-model="categoryToCreate.name" />
|
<a-input v-model="categoryToCreate.name" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item
|
<a-form-item
|
||||||
label="路径名称:"
|
label="别名:"
|
||||||
help="* 这是文章路径上显示的名称,最好为英文"
|
help="* 一般为单个分类页面的标识,最好为英文"
|
||||||
>
|
>
|
||||||
<a-input v-model="categoryToCreate.slugName" />
|
<a-input v-model="categoryToCreate.slugName" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
|
@ -103,12 +103,6 @@
|
||||||
</span>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
</a-card>
|
</a-card>
|
||||||
<a-card
|
|
||||||
title="分类树"
|
|
||||||
class="category-tree"
|
|
||||||
>
|
|
||||||
<category-tree :categories="categories" />
|
|
||||||
</a-card>
|
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</div>
|
</div>
|
||||||
|
@ -116,7 +110,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import CategorySelectTree from './components/CategorySelectTree'
|
import CategorySelectTree from './components/CategorySelectTree'
|
||||||
import CategoryTree from './components/CategoryTree'
|
|
||||||
import categoryApi from '@/api/category'
|
import categoryApi from '@/api/category'
|
||||||
|
|
||||||
const columns = [
|
const columns = [
|
||||||
|
@ -125,7 +118,7 @@ const columns = [
|
||||||
dataIndex: 'name'
|
dataIndex: 'name'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '路径',
|
title: '别名',
|
||||||
dataIndex: 'slugName'
|
dataIndex: 'slugName'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -143,7 +136,7 @@ const columns = [
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
export default {
|
export default {
|
||||||
components: { CategorySelectTree, CategoryTree },
|
components: { CategorySelectTree },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
formType: 'create',
|
formType: 'create',
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
<a-input v-model="tagToCreate.name" />
|
<a-input v-model="tagToCreate.name" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item
|
<a-form-item
|
||||||
label="路径名称:"
|
label="别名”"
|
||||||
help="* 这是文章路径上显示的名称,最好为英文"
|
help="* 一般为单个标签页面的标识,最好为英文"
|
||||||
>
|
>
|
||||||
<a-input v-model="tagToCreate.slugName" />
|
<a-input v-model="tagToCreate.slugName" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
|
|
Loading…
Reference in New Issue