Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quasar-web-base
Project
Project
Details
Activity
Releases
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
Nguyễn Hải Sơn
quasar-web-base
Commits
10133f27
Commit
10133f27
authored
Jun 18, 2022
by
Nguyễn Đức Thắng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
ec399119
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
18 additions
and
9 deletions
+18
-9
quasar.conf.js
quasar.conf.js
+1
-1
configurations.example.ts
src/assets/configurations.example.ts
+5
-2
index.vue
src/pages/bai-viet/index.vue
+2
-1
index.vue
src/pages/banner/index.vue
+2
-1
index.vue
src/pages/cau-hinh-doi-tac-truyen-thong/index.vue
+2
-1
index.vue
src/pages/cau-hinh-san-pham-noi-bat/index.vue
+2
-1
index.vue
src/pages/cau-hinh-tin-tuc/index.vue
+2
-1
index.vue
src/pages/thong-tin-chung/index.vue
+2
-1
No files found.
quasar.conf.js
View file @
10133f27
...
@@ -80,7 +80,7 @@ module.exports = configure(function (ctx) {
...
@@ -80,7 +80,7 @@ module.exports = configure(function (ctx) {
// Full list of options: https://v2.quasar.dev/quasar-cli/quasar-conf-js#Property%3A-devServer
// Full list of options: https://v2.quasar.dev/quasar-cli/quasar-conf-js#Property%3A-devServer
devServer
:
{
devServer
:
{
https
:
false
,
https
:
false
,
port
:
107
06
,
port
:
107
10
,
open
:
false
,
// opens browser window automatically
open
:
false
,
// opens browser window automatically
},
},
...
...
src/assets/configurations.example.ts
View file @
10133f27
export
const
config
=
{
export
const
config
=
{
API_ENDPOINT
:
'https://cms.vab.xteldev.com/api/'
,
// API_ENDPOINT: 'https://cms.vab.xteldev.com/api/',
API_IMAGE_ENDPOINT
:
'https://cms.vab.xteldev.com/file/upload/'
,
API_ENDPOINT
:
'http://103.147.34.34:10700/api/'
,
API_IMAGE_ENDPOINT
:
'http://103.147.34.34:10700/api/upload/'
,
// API_IMAGE_ENDPOINT: 'https://cms.vab.xteldev.com/file/upload/',
API_RES_CODE
:
{
API_RES_CODE
:
{
OK
:
{
OK
:
{
code
:
0
,
code
:
0
,
...
...
src/pages/bai-viet/index.vue
View file @
10133f27
...
@@ -461,7 +461,8 @@ export default defineComponent({
...
@@ -461,7 +461,8 @@ export default defineComponent({
bodyFormData
.
append
(
'file'
,
file
);
bodyFormData
.
append
(
'file'
,
file
);
const
response
=
(
await
api
({
const
response
=
(
await
api
({
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
url
:
'https://cms.vab.xteldev.com/file/upload/'
,
// url: 'https://cms.vab.xteldev.com/file/upload/',
url
:
'http://103.147.34.34:10700/api/upload/'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
bodyFormData
,
data
:
bodyFormData
,
}))
as
AxiosResponse
<
BaseResponseBody
<
FileUploadType
>>
;
}))
as
AxiosResponse
<
BaseResponseBody
<
FileUploadType
>>
;
...
...
src/pages/banner/index.vue
View file @
10133f27
...
@@ -400,7 +400,8 @@ export default defineComponent({
...
@@ -400,7 +400,8 @@ export default defineComponent({
bodyFormData
.
append
(
'file'
,
file
);
bodyFormData
.
append
(
'file'
,
file
);
const
response
=
(
await
api
({
const
response
=
(
await
api
({
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
url
:
'https://cms.vab.xteldev.com/file/upload/'
,
// url: 'https://cms.vab.xteldev.com/file/upload/',
url
:
'http://103.147.34.34:10700/api/upload/'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
bodyFormData
,
data
:
bodyFormData
,
}))
as
AxiosResponse
<
BaseResponseBody
<
FileUploadType
>>
;
}))
as
AxiosResponse
<
BaseResponseBody
<
FileUploadType
>>
;
...
...
src/pages/cau-hinh-doi-tac-truyen-thong/index.vue
View file @
10133f27
...
@@ -408,7 +408,8 @@ export default defineComponent({
...
@@ -408,7 +408,8 @@ export default defineComponent({
bodyFormData
.
append
(
'file'
,
file
);
bodyFormData
.
append
(
'file'
,
file
);
const
response
=
(
await
api
({
const
response
=
(
await
api
({
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
url
:
'https://cms.vab.xteldev.com/file/upload/'
,
// url: 'https://cms.vab.xteldev.com/file/upload/',
url
:
'http://103.147.34.34:10700/api/upload/'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
bodyFormData
,
data
:
bodyFormData
,
}))
as
AxiosResponse
<
BaseResponseBody
<
FileUploadType
>>
;
}))
as
AxiosResponse
<
BaseResponseBody
<
FileUploadType
>>
;
...
...
src/pages/cau-hinh-san-pham-noi-bat/index.vue
View file @
10133f27
...
@@ -468,7 +468,8 @@ export default defineComponent({
...
@@ -468,7 +468,8 @@ export default defineComponent({
bodyFormData
.
append
(
'file'
,
file
);
bodyFormData
.
append
(
'file'
,
file
);
const
response
=
(
await
api
({
const
response
=
(
await
api
({
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
url
:
'https://cms.vab.xteldev.com/file/upload/'
,
// url: 'https://cms.vab.xteldev.com/file/upload/',
url
:
'http://103.147.34.34:10700/api/upload/'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
bodyFormData
,
data
:
bodyFormData
,
}))
as
AxiosResponse
<
BaseResponseBody
<
FileUploadType
>>
;
}))
as
AxiosResponse
<
BaseResponseBody
<
FileUploadType
>>
;
...
...
src/pages/cau-hinh-tin-tuc/index.vue
View file @
10133f27
...
@@ -413,7 +413,8 @@ export default defineComponent({
...
@@ -413,7 +413,8 @@ export default defineComponent({
bodyFormData
.
append
(
'file'
,
file
);
bodyFormData
.
append
(
'file'
,
file
);
const
response
=
(
await
api
({
const
response
=
(
await
api
({
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
url
:
'https://cms.vab.xteldev.com/file/upload/'
,
// url: 'https://cms.vab.xteldev.com/file/upload/',
url
:
'http://103.147.34.34:10700/api/upload/'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
bodyFormData
,
data
:
bodyFormData
,
}))
as
AxiosResponse
<
BaseResponseBody
<
FileUploadType
>>
;
}))
as
AxiosResponse
<
BaseResponseBody
<
FileUploadType
>>
;
...
...
src/pages/thong-tin-chung/index.vue
View file @
10133f27
...
@@ -284,7 +284,8 @@ export default defineComponent({
...
@@ -284,7 +284,8 @@ export default defineComponent({
bodyFormData
.
append
(
'file'
,
file
);
bodyFormData
.
append
(
'file'
,
file
);
const
response
=
(
await
api
({
const
response
=
(
await
api
({
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
url
:
'https://cms.vab.xteldev.com/file/upload/'
,
// url: 'https://cms.vab.xteldev.com/file/upload/',
url
:
'http://103.147.34.34:10700/api/upload/'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
bodyFormData
,
data
:
bodyFormData
,
}))
as
AxiosResponse
<
BaseResponseBody
<
FileUploadType
>>
;
}))
as
AxiosResponse
<
BaseResponseBody
<
FileUploadType
>>
;
...
...
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