X [ERROR] Cannot assign to import "LicenseKey"
script:/IdeaProjects/dlgd-new-front/src/components/commoms/SpreadCore/index.vue?id=1:8:47:
8 │ GC.Spread.Sheets.LicenseKey = (ExcelIO as any).LicenseKey = import.meta.env.VITE_SPREAD_LICENSEKEY as any;
╵ ~~~~~~~~~~
Imports are immutable in JavaScript. To modify the value of this import, you must export a setter
function in the imported file (e.g. "setLicenseKey") and then import and call that function here
instead.
有时候需要注释,然后重启,再解开注释才行。
又有时候注释重启也没用。
|
|