mirror of https://github.com/halo-dev/halo-admin
feat: add description field for theme setting.
parent
9a15baff85
commit
f20ba887cf
File diff suppressed because it is too large
Load Diff
|
@ -10,12 +10,12 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"animate.css": "^3.7.0",
|
||||
"ant-design-vue": "^1.4.6",
|
||||
"ant-design-vue": "^1.4.8",
|
||||
"axios": "^0.18.0",
|
||||
"enquire.js": "^2.1.6",
|
||||
"filepond": "^4.7.2",
|
||||
"filepond-plugin-image-preview": "^4.5.0",
|
||||
"halo-editor": "^2.7.6",
|
||||
"halo-editor": "^2.7.9",
|
||||
"marked": "^0.7.0",
|
||||
"moment": "^2.24.0",
|
||||
"nprogress": "^0.2.0",
|
||||
|
@ -35,7 +35,7 @@
|
|||
"@babel/polyfill": "^7.4.4",
|
||||
"@vue/cli-plugin-babel": "^3.8.0",
|
||||
"@vue/cli-plugin-eslint": "^3.8.0",
|
||||
"@vue/cli-plugin-unit-jest": "^3.8.0",
|
||||
"@vue/cli-plugin-unit-jest": "^4.1.1",
|
||||
"@vue/cli-service": "^3.8.0",
|
||||
"@vue/eslint-config-standard": "^4.0.0",
|
||||
"@vue/test-utils": "^1.0.0-beta.20",
|
||||
|
|
|
@ -35,7 +35,7 @@ export const asyncRouterMap = [
|
|||
path: '/posts/write',
|
||||
name: 'PostEdit',
|
||||
component: () => import('@/views/post/PostEdit'),
|
||||
meta: { title: '写文章', hiddenHeaderContent: false }
|
||||
meta: { title: '写文章', hiddenHeaderContent: false, keepAlive: false }
|
||||
},
|
||||
{
|
||||
path: '/categories',
|
||||
|
@ -70,7 +70,7 @@ export const asyncRouterMap = [
|
|||
path: '/sheets/write',
|
||||
name: 'SheetEdit',
|
||||
component: () => import('@/views/sheet/SheetEdit'),
|
||||
meta: { title: '新建页面', hiddenHeaderContent: false }
|
||||
meta: { title: '新建页面', hiddenHeaderContent: false, keepAlive: false }
|
||||
},
|
||||
{
|
||||
path: '/sheets/links',
|
||||
|
|
|
@ -86,6 +86,11 @@
|
|||
:label="item.label + ':'"
|
||||
:key="index1"
|
||||
>
|
||||
<p
|
||||
v-if="item.description && item.description!=''"
|
||||
slot="help"
|
||||
v-html="item.description"
|
||||
></p>
|
||||
<a-input
|
||||
v-model="themeSettings[item.name]"
|
||||
:defaultValue="item.defaultValue"
|
||||
|
|
Loading…
Reference in New Issue