fix: 组合图设置渐变后修改主题色为深色渐变没有禁用

This commit is contained in:
ulleo 2023-12-25 16:16:30 +08:00
parent 63bff6fc80
commit 727c66353a
2 changed files with 6 additions and 3 deletions

View File

@ -1,8 +1,8 @@
#!/bin/sh
mvn clean package
cp view-chartmix-backend/target/view-chartmix-backend-1.18.13.jar .
cp view-chartmix-backend/target/view-chartmix-backend-1.18.14.jar .
zip -r chartmix.zip ./view-chartmix-backend-1.18.13.jar ./plugin.json
zip -r chartmix.zip ./view-chartmix-backend-1.18.14.jar ./plugin.json
rm -f ./view-chartmix-backend-1.18.13.jar
rm -f ./view-chartmix-backend-1.18.14.jar

View File

@ -235,6 +235,9 @@ export default {
this.customColor = this.colorForm.colors[0]
this.colorIndex = 0
}
if(this.colorForm.gradient === undefined){
this.colorForm.gradient = false
}
}
}