修改代码

This commit is contained in:
ival 2019-08-30 19:36:36 +08:00
parent f428bd71f1
commit 923ded894b

View File

@ -1,23 +1,19 @@
<template> <template>
<div> <div>
<div :id="ibpId" :style="{ width: '100%', height: '100%' }" class="ibp-canvas"></div> <div :id="ibpId" :style="{ width: '100%', height: '100%' }" class="ibp-canvas" />
<el-button v-if="showBackButton" class="ibp-button" type="primary" @click="back">返回</el-button> <el-button v-if="showBackButton" class="ibp-button" type="primary" @click="back">返回</el-button>
</div> </div>
</template> </template>
<script> <script>
import Vue from 'vue'; import Vue from 'vue';
import localStore from 'storejs';
import IbpPan from '@/ibp/ibpPan'; import IbpPan from '@/ibp/ibpPan';
import { parser } from '@/ibp/utils/parser'; import { parser } from '@/ibp/utils/parser';
import ibpData from '@/ibp/constant/ibpData' import ibpData from '@/ibp/constant/ibpData';
import { mapGetters } from 'vuex'; import { mapGetters } from 'vuex';
export default { export default {
name: 'Ibp', name: 'Ibp',
components: {
},
data() { data() {
return { return {
width: this.$store.state.config.width, width: this.$store.state.config.width,