Commit 5c976163 authored by yyh's avatar yyh

代码调整

parent 54e52773
...@@ -51,7 +51,6 @@ ...@@ -51,7 +51,6 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { Component, Prop, Vue, Inject, Mixins } from 'vue-property-decorator'; import { Component, Prop, Vue, Inject, Mixins } from 'vue-property-decorator';
import { List, Popup, Button, Image, Picker, Grid, GridItem, Empty, Dialog } from 'vant';
import { ChainStatus } from '@/const/enum'; import { ChainStatus } from '@/const/enum';
import { ChainStatusStr } from '@/const/constants'; import { ChainStatusStr } from '@/const/constants';
import MixinProof from '@/mixins/proof.ts'; import MixinProof from '@/mixins/proof.ts';
...@@ -62,15 +61,6 @@ import AddBaseinfo from './components/AddBaseinfo.vue'; ...@@ -62,15 +61,6 @@ import AddBaseinfo from './components/AddBaseinfo.vue';
import proof from '@/api/modules/proof'; import proof from '@/api/modules/proof';
@Component({ @Component({
components: { components: {
[Picker.name]: Picker,
[Image.name]: Image,
[Button.name]: Button,
[List.name]: List,
[Popup.name]: Popup,
[Grid.name]: Grid,
[GridItem.name]: GridItem,
[Empty.name]: Empty,
[Dialog.Component.name]: Dialog.Component,
SelectTemplate, SelectTemplate,
PreviewTemplate, PreviewTemplate,
AddFolder, AddFolder,
...@@ -135,7 +125,7 @@ export default class Index extends Mixins(MixinProof) { ...@@ -135,7 +125,7 @@ export default class Index extends Mixins(MixinProof) {
private async addFolder( { folderName }: any) { private async addFolder( { folderName }: any) {
this.showAddFolder = false ; this.showAddFolder = false ;
await this.$api.template.addFolder(folderName); await this.$api.template.addFolder(folderName);
this.showSelectTemplate = false; // this.showSelectTemplate = false;
} }
private nextSelectedTemplate({ templateId, templateName }: any) { private nextSelectedTemplate({ templateId, templateName }: any) {
this.templateInfo.id = templateId; this.templateInfo.id = templateId;
......
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