Commit 5db2e678 by Mr. Lan

fix bug.

parent f6670de5
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> <link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= webpackConfig.name %> - ferry</title> <title><%= webpackConfig.name %> - ferry</title>
<meta name="keywords" content="ferry,vue,gin,go"> <meta name="keywords" content="ferry,vue,gin,go">
<meta name="description" content="后台管理系统"> <meta name="description" content="FERRY 管理平台">
<style> <style>
html, html,
body, body,
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</div> </div>
</template> </template>
<script> <script>
import G6 from '@/components/wfd/src' import G6 from '@antv/g6/src'
import { getShapeName } from '../util/clazz' import { getShapeName } from '../util/clazz'
import Command from '../plugins/command' import Command from '../plugins/command'
import Toolbar from '../plugins/toolbar' import Toolbar from '../plugins/toolbar'
......
import editorStyle from '../util/defaultStyle' import editorStyle from '../util/defaultStyle'
const Item = require('@/components/wfd/src/item/item') const Item = require('@antv/g6/src/item/item')
const createAnchor = (index, style, group) => { const createAnchor = (index, style, group) => {
const anchorContainer = group.addGroup() const anchorContainer = group.addGroup()
......
import editorStyle from '../util/defaultStyle' import editorStyle from '../util/defaultStyle'
const SingleShapeMixin = require('@/components/wfd/src/shape/single-shape-mixin') const SingleShapeMixin = require('@antv/g6/src/shape/single-shape-mixin')
export default function(G6) { export default function(G6) {
G6.Shape.registerFactory('anchor', { G6.Shape.registerFactory('anchor', {
defaultShapeType: 'marker' defaultShapeType: 'marker'
......
...@@ -24,7 +24,7 @@ export default { ...@@ -24,7 +24,7 @@ export default {
}, },
data() { data() {
return { return {
title: '后台管理系统', title: 'FERRY 管理平台',
logo: '@/assets/logo/ferry_logo_white.png' logo: '@/assets/logo/ferry_logo_white.png'
} }
} }
......
...@@ -15,7 +15,7 @@ import store from './store' ...@@ -15,7 +15,7 @@ import store from './store'
import router from './router' import router from './router'
import permission from './directive/permission' import permission from './directive/permission'
import { parseTime, resetForm, addDateRange, selectDictLabel, download } from '@/utils/costum' import { parseTime, resetForm, addDateRange, selectDictLabel } from '@/utils/costum'
import './icons' // icon import './icons' // icon
import './permission' // permission control import './permission' // permission control
...@@ -39,7 +39,6 @@ Vue.prototype.parseTime = parseTime ...@@ -39,7 +39,6 @@ Vue.prototype.parseTime = parseTime
Vue.prototype.resetForm = resetForm Vue.prototype.resetForm = resetForm
Vue.prototype.addDateRange = addDateRange Vue.prototype.addDateRange = addDateRange
Vue.prototype.selectDictLabel = selectDictLabel Vue.prototype.selectDictLabel = selectDictLabel
Vue.prototype.download = download
// 全局组件挂载 // 全局组件挂载
Vue.component('Pagination', Pagination) Vue.component('Pagination', Pagination)
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="title-container"> <div class="title-container">
<h3 class="title"> <h3 class="title">
后台管理系统 FERRY 管理平台
</h3> </h3>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment