Commit 4b729e8e authored by yyh's avatar yyh

图片裁剪框适配问题

parent 00ef6704
...@@ -68,6 +68,8 @@ export default class AddBanner extends Vue { ...@@ -68,6 +68,8 @@ export default class AddBanner extends Vue {
private show: boolean = true; private show: boolean = true;
private option: any = { private option: any = {
fixedNumber: [35, 14], fixedNumber: [35, 14],
ceilbutton: true,
canMoveBox: true,
}; };
@Watch('banners', { immediate: true, deep: true }) @Watch('banners', { immediate: true, deep: true })
private async onChange(newVal: [], oldVal: []) { private async onChange(newVal: [], oldVal: []) {
......
...@@ -41,6 +41,8 @@ export default class AccountNum extends Vue { ...@@ -41,6 +41,8 @@ export default class AccountNum extends Vue {
@Mutation('updateIsLogin') private updateIsLogin!: (isLogin: boolean) => void; @Mutation('updateIsLogin') private updateIsLogin!: (isLogin: boolean) => void;
@Mutation('updateUserInfo') private updateUserInfo!: (userInfo: any) => void; @Mutation('updateUserInfo') private updateUserInfo!: (userInfo: any) => void;
private option: any = { private option: any = {
ceilbutton: true,
canMoveBox: true,
}; };
private getFile(file: any) { private getFile(file: any) {
this.$api.file.upload(file).then((res: any) => { this.$api.file.upload(file).then((res: any) => {
......
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