The eclipse editor reported an error

Picture description

Why is the file name garbled for react export?


Mar.12,2021

cannot find the file. The file name should not have any characters in Chinese state, should it


the file path is encoded by URL. Let's see

from this point of view.

can't find the file. The file name should not have some characters in Chinese state

.
const head = {
    aitname:'',//encode
    ... 
};

const result = {
    // ...headencode
};
const excelName = '';
const a = `excelName=${encodeURIComponent(excelName)}&head=${encodeURIComponent(JSON.stringify(head))}&result=${encodeURIComponent(JSON.stringify(result))}`;
window.open();

this is standard writing and does not require multiple encode,. If necessary, it proves that the backend design is unreasonable and needs to be optimized. If the backend does not change, come to me again

.
Menu