diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2019-08-29 18:43:08 +0800 |
---|---|---|
committer | xu ran <xuranyjy@chinamobile.com> | 2019-08-30 02:20:49 +0000 |
commit | 0c1e82ccbfa6dcb8ee5d11220a93fefc61465374 (patch) | |
tree | dbd894bc5909df38bde9a2738e366d7913627195 /usecaseui-portal/src/app/mock/fake | |
parent | cbb4b91ad39b44a76d1b1d4b745ef2b38fab74ce (diff) |
feat: change the mock data path config file
Change-Id: I5ca301d8ff0b084f64366312543c9036d8e76de8
Issue-ID: USECASEUI-307
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/mock/fake')
-rw-r--r-- | usecaseui-portal/src/app/mock/fake/fakedata.js | 1 | ||||
-rw-r--r-- | usecaseui-portal/src/app/mock/fake/mock.js | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/mock/fake/fakedata.js b/usecaseui-portal/src/app/mock/fake/fakedata.js index a008c14a..3fc3a588 100644 --- a/usecaseui-portal/src/app/mock/fake/fakedata.js +++ b/usecaseui-portal/src/app/mock/fake/fakedata.js @@ -21,4 +21,5 @@ module.exports = { avatar: faker.internet.avatar() } }), + language: { language: faker.random.locale() } }
\ No newline at end of file diff --git a/usecaseui-portal/src/app/mock/fake/mock.js b/usecaseui-portal/src/app/mock/fake/mock.js index 2864d4c5..74b9fc9f 100644 --- a/usecaseui-portal/src/app/mock/fake/mock.js +++ b/usecaseui-portal/src/app/mock/fake/mock.js @@ -2,6 +2,7 @@ const fakeData = require('./fakedata.js'); module.exports = { //Mock json 'customer_info': fakeData.customer, - 'alarm_formdata_multiple': fakeData, + 'alarm_formdata_multiple': fakeData.customer, 'home': fakeData.home, + 'language': fakeData.language, }
\ No newline at end of file |