tj
2025-06-05 fd9cfc4487773c00114b7748f1f885e9e7a81135
solve the MiniProgramError: process is not defined
已修改1个文件
5 ■■■■ 文件已修改
plugins/storage.js 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
plugins/storage.js
@@ -1,5 +1,8 @@
// import Vue from 'vue'
let APPID = 'film-token' + process.env.PUB_TYPE
// let APPID = 'film-token' + process.env.PUB_TYPE
let APPID = 'film-token' + import.meta.env.PUB_TYPE
// #ifdef PUB_CUSTOMER
APPID = 'film-token-customer'
// #endif