Commit cc5bb6df authored by yyh's avatar yyh

fix Dailog

parent ec3d4de4
NODE_ENV=development
NODE_ENV=production
VUE_APP_SERVER=/api
VUE_APP_BROWSER=http://47.114.159.142:9033
\ No newline at end of file
......@@ -43,7 +43,7 @@
</template>
<script lang="ts">
import { Component, Prop, Watch, Vue } from 'vue-property-decorator';
import { Button, Field } from 'vant';
import { Button, Field, Dialog } from 'vant';
import { Getter, State } from 'vuex-class';
import { TemplateDataItem } from '@/const/interface';
import { Route } from 'vue-router';
......@@ -52,6 +52,7 @@ import AddBanner from './components/AddBanner.vue';
components: {
[Button.name]: Button,
[Field.name]: Field,
[Dialog.Component.name]: Dialog.Component,
AddBanner,
},
})
......
......@@ -70,7 +70,7 @@
</template>
<script lang="ts">
import { Component, Prop, Vue } from 'vue-property-decorator';
import { List, Popup, Button, Image, Picker, Grid, GridItem, Empty } from 'vant';
import { List, Popup, Button, Image, Picker, Grid, GridItem, Empty, Dialog } from 'vant';
import { ChainStatus } from '@/const/enum';
import { ActionList, ChainStatusStr } from '@/const/constants';
import SelectTemplate from '@/views/template/components/SelectTemplate.vue';
......@@ -87,6 +87,7 @@ import AddBaseinfo from './components/AddBaseinfo.vue';
[Grid.name]: Grid,
[GridItem.name]: GridItem,
[Empty.name]: Empty,
[Dialog.Component.name]: Dialog.Component,
SelectTemplate,
PreviewTemplate,
AddFolder,
......
......@@ -23,7 +23,7 @@
</template>
<script lang="ts">
import { Component, Prop, Watch, Vue, Emit, Model } from 'vue-property-decorator';
import { Button, Field, Popup, Image } from 'vant';
import { Button, Field, Popup, Image, Dialog } from 'vant';
import { Getter } from 'vuex-class';
import { TemplateDataItem } from '@/const/interface';
import { Route } from 'vue-router';
......@@ -33,6 +33,7 @@ import { Route } from 'vue-router';
[Field.name]: Field,
[Popup.name]: Popup,
[Image.name]: Image,
[Dialog.Component.name]: Dialog.Component,
},
})
export default class AddBaseinfo extends Vue {
......
......@@ -72,7 +72,7 @@
</template>
<script lang="ts">
import { Component, Prop, Vue } from 'vue-property-decorator';
import { Cell, Form, Field, CellGroup, Button, Image, RadioGroup, Radio, Popup } from 'vant';
import { Cell, Form, Field, CellGroup, Button, Image, RadioGroup, Radio, Popup, Dialog } from 'vant';
import { Getter, State } from 'vuex-class';
import { Route } from 'vue-router';
@Component({
......@@ -85,6 +85,7 @@ import { Route } from 'vue-router';
[RadioGroup.name]: RadioGroup,
[Radio.name]: Radio,
[Popup.name]: Popup,
[Dialog.Component.name]: Dialog.Component,
},
})
export default class Recharge extends Vue {
......
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