Commit 5c976163 authored by yyh's avatar yyh

代码调整

parent 54e52773
......@@ -51,7 +51,6 @@
</template>
<script lang="ts">
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 { ChainStatusStr } from '@/const/constants';
import MixinProof from '@/mixins/proof.ts';
......@@ -62,15 +61,6 @@ import AddBaseinfo from './components/AddBaseinfo.vue';
import proof from '@/api/modules/proof';
@Component({
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,
PreviewTemplate,
AddFolder,
......@@ -135,7 +125,7 @@ export default class Index extends Mixins(MixinProof) {
private async addFolder( { folderName }: any) {
this.showAddFolder = false ;
await this.$api.template.addFolder(folderName);
this.showSelectTemplate = false;
// this.showSelectTemplate = false;
}
private nextSelectedTemplate({ templateId, templateName }: any) {
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