2023-11-20-dist
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -340,7 +340,6 @@ export default defineComponent({
|
||||
(rv) => {
|
||||
if(rv){
|
||||
colorSort = rv.ratio
|
||||
console.log(rv);
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
@@ -583,7 +583,6 @@ export default defineComponent({
|
||||
},
|
||||
scaleImage(){
|
||||
let scaleImage:any = this.$refs.scaleImage
|
||||
console.log(this.fileList);
|
||||
|
||||
scaleImage.init(this.fileList)
|
||||
},
|
||||
|
||||
@@ -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");
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
|
||||
//绑定邮箱
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user