Commit f5270420 authored by wangjiankun's avatar wangjiankun

fix:去除没有用的测试页面 去除没有用的插件引用

parent 8735d835
...@@ -12,7 +12,7 @@ import locale from 'element-ui/lib/locale/lang/zh-CN' // lang i18n ...@@ -12,7 +12,7 @@ import locale from 'element-ui/lib/locale/lang/zh-CN' // lang i18n
import BaiduMap from 'vue-baidu-map' import BaiduMap from 'vue-baidu-map'
import Vcharts from 'v-charts' import Vcharts from 'v-charts'
import Viewer from 'v-viewer' import Viewer from 'v-viewer'
import ImageViewer from 'vue2-viewer' // import ImageViewer from 'vue2-viewer'
import 'viewerjs/dist/viewer.css' import 'viewerjs/dist/viewer.css'
import '@assets/icons' import '@assets/icons'
...@@ -25,7 +25,7 @@ Vue.use(Viewer, { ...@@ -25,7 +25,7 @@ Vue.use(Viewer, {
toolbar: true, toolbar: true,
fullscreen: false fullscreen: false
}}) }})
Vue.use(ImageViewer) // Vue.use(ImageViewer)
Vue.prototype.$axios = xhr Vue.prototype.$axios = xhr
Vue.config.productionTip = false; Vue.config.productionTip = false;
// 全局事件注册 // 全局事件注册
......
...@@ -16,16 +16,7 @@ let routes = [ ...@@ -16,16 +16,7 @@ let routes = [
redirect: '/regionalPlate', redirect: '/regionalPlate',
name: 'home', name: 'home',
meta: { title: '首页' }, meta: { title: '首页' },
hidden: true, hidden: true
children: [
{
path: '/tableNew',
name: 'tableNew',
hidden: false,
meta: { title: 'Test' },
component: () => import('@comp/houseDetailForm/index.vue'),
}
]
}, },
{ {
path: '/regionalPlate', path: '/regionalPlate',
......
<template>
<vue-viewer
:thumb="imgList[0]"
:full="imgList">
</vue-viewer>
</template>
<script>
export default {
name: "isTest",
data() {
return {
imgList: [
'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1550224739247&di=512032866bea6329b1e46c735d50ac8b&imgtype=0&src=http%3A%2F%2Fimglf2.ph.126.net%2FdHH6OM2rD8JucPGAotUfag%3D%3D%2F6608219914074710297.jpg',
'https://ss0.baidu.com/6ONWsjip0QIZ8tyhnq/it/u=488030022,1694816207&fm=173&app=25&f=JPEG?w=580&h=347&s=A08FB35A5E0616C664F5631C030010D6',
'https://ss0.baidu.com/6ONWsjip0QIZ8tyhnq/it/u=2574767313,3929397124&fm=173&app=25&f=JPEG?w=580&h=868&s=B784EEA3460236E17A1F137F0300A058'
]
}
}
}
</script>
<style scoped>
</style>
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 to comment