|
|
@ -136,14 +136,10 @@ export default defineComponent({
|
|
|
|
|
|
|
|
|
|
|
|
const handleEditConfigChange = (newcontent, _, status) => {
|
|
|
|
const handleEditConfigChange = (newcontent, _, status) => {
|
|
|
|
themeConfigContent.value = newcontent;
|
|
|
|
themeConfigContent.value = newcontent;
|
|
|
|
if (
|
|
|
|
if (status.contentErrors && status.contentErrors.parseError) {
|
|
|
|
status.contentErrors &&
|
|
|
|
|
|
|
|
Array.isArray(status.contentErrors.validationErrors) &&
|
|
|
|
|
|
|
|
status.contentErrors.validationErrors.length === 0
|
|
|
|
|
|
|
|
) {
|
|
|
|
|
|
|
|
editThemeFormatRight.value = true;
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
editThemeFormatRight.value = false;
|
|
|
|
editThemeFormatRight.value = false;
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
editThemeFormatRight.value = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|