feat: 个人appld
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
import Taro from "@tarojs/taro";
|
||||
import { Component } from "react";
|
||||
import "./app.scss";
|
||||
import {envConfig} from '../config'
|
||||
class App extends Component<any> {
|
||||
componentDidMount() {
|
||||
Taro.cloud.init({
|
||||
env: 'cloud1-5g5xrgza12a0dd6d',
|
||||
// env: 'cloud1-5g5xrgza12a0dd6d',//公司
|
||||
env:envConfig, //个人
|
||||
traceUser:true
|
||||
})
|
||||
|
||||
const a = new Taro.cloud.Cloud({
|
||||
resourceEnv: 'cloud1-5g5xrgza12a0dd6d',
|
||||
resourceEnv:envConfig, //公司
|
||||
})
|
||||
a.init()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user