删除多余文件;小修改
This commit is contained in:
parent
2887104bb3
commit
bc5de2f4d6
3
TODOs.md
3
TODOs.md
@ -42,9 +42,6 @@
|
||||
Java代码中小程序AppID、密钥处理,小程序代码中小程序AppID处理
|
||||
|
||||
|
||||
# TODO 全部域名配置的地方添加 FIXME 环境配置
|
||||
|
||||
|
||||
# VSCode 全局搜索排除
|
||||
|
||||
node_modules,.git,.idea,target,out,./postman-collection,@deprecated
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user