不等比缩放
This commit is contained in:
@@ -27,9 +27,9 @@
|
||||
<!-- 有图状态 start-->
|
||||
<div class="home_left_info" v-show="isHaveReviewCollection">
|
||||
<div class="left_info_top">
|
||||
<div class="button_second" @click="startNewCollection()">
|
||||
<!-- <div class="button_second" @click="startNewCollection()">
|
||||
{{ $t('HomeView.Start') }}
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="button_first button_margin" @click="recollection()">
|
||||
{{ $t('HomeView.Edit') }}
|
||||
</div>
|
||||
@@ -237,7 +237,7 @@ import { useStore } from "vuex";
|
||||
import { Https } from "@/tool/https";
|
||||
import { rgbToHsv, dataURLtoBlob } from "@/tool/util";
|
||||
import { openGuide,driverObj__ } from "@/tool/guide";
|
||||
import { LoadingOutlined } from "@ant-design/icons-vue";
|
||||
import { LoadingOutlined ,ExclamationCircleOutlined} from "@ant-design/icons-vue";
|
||||
import draggable from 'vuedraggable'
|
||||
// import JSZip, { forEach } from "jszip";
|
||||
import { setCookie, getCookie, WriteCookie } from "@/tool/cookie";
|
||||
@@ -560,12 +560,22 @@ export default defineComponent({
|
||||
},
|
||||
|
||||
resetCollection(){
|
||||
this.store.commit("clearAllData");
|
||||
this.store.commit("clearAllCollection");
|
||||
this.store.commit("setAllBoardDataChoose",{});
|
||||
this.store.commit("clearShowSketchboard",{});
|
||||
this.isHaveReviewCollection = false
|
||||
|
||||
let _this = this
|
||||
Modal.confirm({
|
||||
title: this.t('HomeView.jsContent9'),
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: 'Yes',
|
||||
cancelText: 'No',
|
||||
mask:false,
|
||||
centered:true,
|
||||
onOk() {
|
||||
_this.store.commit("clearAllData");
|
||||
_this.store.commit("clearAllCollection");
|
||||
_this.store.commit("setAllBoardDataChoose",{});
|
||||
_this.store.commit("clearShowSketchboard",{});
|
||||
_this.isHaveReviewCollection = false
|
||||
}
|
||||
});
|
||||
},
|
||||
//完成设计
|
||||
finishCollection() {
|
||||
|
||||
Reference in New Issue
Block a user