2023-11-20-dist

This commit is contained in:
X1627315083
2023-11-20 17:37:32 +08:00
parent 4f26d58ca8
commit 8e22029ee7
37 changed files with 47 additions and 45 deletions

View File

@@ -152,7 +152,6 @@ export default defineComponent({
//点击判断
init(num){
// this.current = JSON.parse(JSON.stringify(this.currentItem))
console.log(this.current);
this.type_ = num
this.colorList[this.selectIndex] = this.$parent.selectColor
this.overallSingle = this.current?.printObject?.ifSingle == null?false:this.current?.printObject?.ifSingle

View File

@@ -340,7 +340,6 @@ export default defineComponent({
(rv) => {
if(rv){
colorSort = rv.ratio
console.log(rv);
}
}
)

View File

@@ -583,7 +583,6 @@ export default defineComponent({
},
scaleImage(){
let scaleImage:any = this.$refs.scaleImage
console.log(this.fileList);
scaleImage.init(this.fileList)
},

View File

@@ -301,14 +301,27 @@ export default defineComponent({
},
//登出
logout() {
async logout() {
let data = {
userId: this.userInfo.userId,
};
Https.axiosPost(Https.httpUrls.accountLogout, data).then((rv) => {
this.$router.replace("/login");
WriteCookie("token");
});
let isTest = getCookie('isTest')
console.log(getCookie("token"));
if(JSON.parse(isTest)){
Https.axiosGet(Https.httpUrls.trialUserLogout,).then((rv) => {
Https.axiosPost(Https.httpUrls.accountLogout, data).then((rv) => {
this.$router.replace("/login");
WriteCookie("token");
});
})
}else{
Https.axiosPost(Https.httpUrls.accountLogout, data).then((rv) => {
this.$router.replace("/login");
WriteCookie("token");
});
}
},
//绑定邮箱

View File

@@ -643,12 +643,9 @@ export default defineComponent({
}
}
data.timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone,
console.log(data,this.moodBoards,this.printBoards);
this.loadingShow = true
Https.axiosPost(Https.httpUrls.elementGeneratePrint, data).then((rv) =>{
if(rv){
console.log(rv);
this.generateList = []
let value = {
id:rv.generateItemId,

View File

@@ -472,7 +472,6 @@ export default defineComponent({
this.inputTime = setTimeout(()=>{
// let num1 = ((input as HTMLInputElement).value.match(/ /g) || []).length
// let num2 = (input as HTMLInputElement).value.split(' ').length
console.log(this.captionGeneration);
if(this.captionGeneration?.split(/\s+/).length > 75){
this.inputShow = true

View File

@@ -87,7 +87,6 @@ export default defineComponent({
methods: {
init(list:any){
this.scaleImage = true
console.log(list);
this.scaleImageList = list
// let scaleImageList = this.store.state.UploadFilesModule.moodboard
},