You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2019/10/16 02:44:18 UTC
[incubator-shardingsphere-benchmark] branch master updated:
feature:Path problem fix
This is an automated email from the ASF dual-hosted git repository.
zhaoyanan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-shardingsphere-benchmark.git
The following commit(s) were added to refs/heads/master by this push:
new 5febc30 feature:Path problem fix
new 104295d Merge pull request #8 from wqzwh/master
5febc30 is described below
commit 5febc309f1efadc64947096e9c79fb1de2455840
Author: wqzwh <wa...@163.com>
AuthorDate: Wed Oct 16 10:42:39 2019 +0800
feature:Path problem fix
---
shadingsphere-benchmark-ui/config/index.js | 2 +-
.../src/components/Container/index.vue | 50 +---------------------
2 files changed, 2 insertions(+), 50 deletions(-)
diff --git a/shadingsphere-benchmark-ui/config/index.js b/shadingsphere-benchmark-ui/config/index.js
index ceb6f12..2aa1ca3 100644
--- a/shadingsphere-benchmark-ui/config/index.js
+++ b/shadingsphere-benchmark-ui/config/index.js
@@ -74,7 +74,7 @@ module.exports = {
// Paths
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
- assetsPublicPath: '/',
+ assetsPublicPath: './',
/**
* Source Maps
diff --git a/shadingsphere-benchmark-ui/src/components/Container/index.vue b/shadingsphere-benchmark-ui/src/components/Container/index.vue
index 9453477..7173cca 100644
--- a/shadingsphere-benchmark-ui/src/components/Container/index.vue
+++ b/shadingsphere-benchmark-ui/src/components/Container/index.vue
@@ -1,58 +1,10 @@
<template>
<div class="layout">
<Layout>
- <!-- <Sider
- ref="side1"
- v-model="isCollapsed"
- :collapsed-width="78"
- class="layout-sider"
- hide-trigger
- collapsible
- width="300"
- >
- <div class="i-layout-sider-logo i-layout-sider-logo-dark">
- <a href="/" target="_self" class="i-link i-link-color">
- <img class="logo" src="../../assets/logo_top.png" />
- <img class="collapse-logo" src="../../assets/logo.png" alt="logo" />
- </a>
- </div>
- <Menu
- :class="menuitemClasses"
- :active-name="$store.state.global.activeName"
- theme="dark"
- width="auto"
- >
- <router-link to="overview">
- <MenuItem name="overview">
- <span>overview</span>
- </MenuItem>
- </router-link>
- <router-link to="mysql-vs-sharding">
- <MenuItem name="mysql-vs-sharding">
- <span>mysqlVsSharding</span>
- </MenuItem>
- </router-link>
- <router-link to="sharding-proxy-master-slave">
- <MenuItem name="sharding-proxy-master-slave">
- <span>shardingProxyMasterSlave</span>
- </MenuItem>
- </router-link>
- <router-link to="sharding-proxy-master-slave-sharding">
- <MenuItem name="sharding-proxy-master-slave-sharding">
- <span>shardingProxyMasterSlaveSharding</span>
- </MenuItem>
- </router-link>
- <router-link to="sharding-proxy-single-database-single-table">
- <MenuItem name="sharding-proxy-single-database-single-table">
- <span>shardingProxySingleDatabaseSingleTable</span>
- </MenuItem>
- </router-link>
- </Menu>
- </Sider>-->
<Layout>
<Header :style="{padding: 0}" class="layout-header-bar">
<div class="i-layout-sider-logo i-layout-sider-logo-dark">
- <a href="/" target="_self" class="i-link i-link-color">
+ <a href="/benchmark" target="_self" class="i-link i-link-color">
<img class="logo" src="../../assets/logo_top.png" />
<img class="collapse-logo" src="../../assets/logo.png" alt="logo" />
</a>