Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
breast-feeding-ai-demo-web
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
朱国瑞
breast-feeding-ai-demo-web
Commits
d85a72c0
Commit
d85a72c0
authored
May 31, 2022
by
朱国瑞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
传参修改
parent
873d219e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
index.vue
src/views/index.vue
+6
-4
No files found.
src/views/index.vue
View file @
d85a72c0
...
...
@@ -584,16 +584,18 @@ export default {
}
let
{
camera
}
=
await
authCamera
(
0
);
console
.
log
(
import
.
meta
.
env
);
if
(
camera
)
{
let
apiKey
=
"DLAB-customername-12345687"
;
let
env
=
import
.
meta
.
env
.
VITE_TRACKING_ENV
;
console
.
log
(
env
);
let
tracking
Params
=
{
let
ai
Params
=
{
env
:
env
,
apiKey
:
apiKey
apiKey
:
apiKey
,
aiServerDomain
:
"https://bfai-service-apac-uat.d-lab-services.danone.com"
};
localStorage
.
setItem
(
"
trackingParams"
,
JSON
.
stringify
(
tracking
Params
));
localStorage
.
setItem
(
"
aiParams"
,
JSON
.
stringify
(
ai
Params
));
let
openDev
=
this
.
$route
.
query
.
openDev
;
localStorage
.
setItem
(
"completeUrl"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment