From bc5de2f4d62f50898f85c13e38fb35b5f0378285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E5=B0=8F=E5=A2=A8?= <2291200076@qq.com> Date: Tue, 25 Apr 2023 02:29:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E6=96=87?= =?UTF-8?q?=E4=BB=B6=EF=BC=9B=E5=B0=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TODOs.md | 3 --- miniprogram/src/app.js | 20 -------------------- 2 files changed, 23 deletions(-) delete mode 100644 miniprogram/src/app.js diff --git a/TODOs.md b/TODOs.md index 5c81709..cdddd4d 100644 --- a/TODOs.md +++ b/TODOs.md @@ -42,9 +42,6 @@ Java代码中小程序AppID、密钥处理,小程序代码中小程序AppID处理 -# TODO 全部域名配置的地方添加 FIXME 环境配置 - - # VSCode 全局搜索排除 node_modules,.git,.idea,target,out,./postman-collection,@deprecated diff --git a/miniprogram/src/app.js b/miniprogram/src/app.js deleted file mode 100644 index a899384..0000000 --- a/miniprogram/src/app.js +++ /dev/null @@ -1,20 +0,0 @@ -import { createApp } from 'vue' -import { setGlobalDataPlugin } from '@tarojs/taro' -import './app.css' - -const App = createApp({ - onShow(options) { }, - // 入口组件不需要实现 render 方法,即使实现了也会被 taro 所覆盖 -}) - -// 全局变量 refer: https://docs.taro.zone/docs/come-from-miniapp#%E5%85%A8%E5%B1%80%E5%8F%98%E9%87%8F -App.use(setGlobalDataPlugin, { - globalData: { - debugMode: true, // 是否展示调试内容 - baseUrl: true - ? "https://epp.only4.work" - : "http://localhost", // 不带最后的 / - } -}) - -export default App