Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: fix content size check logic (#8158)
Liu Ji1690723fd778
diff --git a/frontend/src/store/modules/v1/sheet.ts b/frontend/src/store/modules/v1/sheet.tsindex 3756bdb52c..e5000dec3e 100644--- a/frontend/src/store/modules/v1/sheet.ts+++ b/frontend/src/store/modules/v1/sheet.ts@@ -294,8 +294,9 @@ export const useSheetAndTabStore = defineStore("sheet_and_tab", () => {return false;}- // Incomplete sheets should be read-only. e.g. 100MB sheet from issue task.- if (sheet.content.length !== sheet.contentSize) {+ // Incomplete sheets should be read-only. e.g. 100MB sheet from issue task.、+ const statement = getSheetStatement(sheet);+ if (statement.length !== sheet.contentSize) {return true;}