Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
authority
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit deef1124
authored
Dec 06, 2018
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更新
1 parent
5ffcbde4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/base.js
src/base.js
View file @
deef112
...
@@ -13,7 +13,7 @@ import VeeValidate, { Validator } from 'vee-validate'
...
@@ -13,7 +13,7 @@ import VeeValidate, { Validator } from 'vee-validate'
import
{
Tree
}
from
'@/components'
import
{
Tree
}
from
'@/components'
Vue
.
use
(
GlsxVueComponents
)
Vue
.
use
(
GlsxVueComponents
)
Vue
.
component
(
'tree'
,
Tree
)
Vue
.
component
(
'tree'
,
Tree
)
import
Theme
from
'@/common/theme'
//
import Theme from '@/common/theme'
const
config
=
{
const
config
=
{
errorBagName
:
'errorBags'
,
errorBagName
:
'errorBags'
,
...
@@ -34,7 +34,7 @@ var mixin = {
...
@@ -34,7 +34,7 @@ var mixin = {
},
},
mounted
()
{
mounted
()
{
const
_this
=
this
const
_this
=
this
const
theme
=
new
Theme
()
const
theme
=
new
this
.
$
Theme
()
this
.
connection
=
this
.
$Penpal
.
connectToParent
({
this
.
connection
=
this
.
$Penpal
.
connectToParent
({
methods
:
{
methods
:
{
setTheme
(
color
)
{
setTheme
(
color
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment