refactor: rename "viewas" to "format", rename "plain text" to "raw"

This commit is contained in:
tiny-craft
2023-11-13 22:41:33 +08:00
parent a2c2ceb483
commit 200b12cd51
15 changed files with 35 additions and 41 deletions

View File

@@ -76,7 +76,7 @@ const loadData = async (reset, full) => {
decodeType: decodeType,
matchPattern: matchPattern,
decode: reset ? decodeTypes.NONE : decode,
format: reset ? formatTypes.PLAIN_TEXT : format,
format: reset ? formatTypes.RAW : format,
reset,
full: full === true,
})