Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 174b787e
authored
Jan 09, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
59365a3c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
src/config/index.js
src/views/expert/detail.vue
src/config/index.js
View file @
174b787
...
@@ -17,7 +17,7 @@ export const fetchConfig = function(isEnv = true) {
...
@@ -17,7 +17,7 @@ export const fetchConfig = function(isEnv = true) {
// Object.assign(request, { timeout })
// Object.assign(request, { timeout })
// return Promise.resolve(cfg)
// return Promise.resolve(cfg)
// }
// }
return
new
Http
({
Headers
:
{
refererurl
:
location
.
href
},
request
:
{
timeout
:
30000
}
}).
get
(
'
https://oss-config.test.glsx.com.cn/mock/618f5cc91072f92988f05a26/services/config'
)
return
new
Http
({
Headers
:
{
refererurl
:
location
.
href
},
request
:
{
timeout
:
30000
}
}).
get
(
'https://oss-config.test.glsx.com.cn/mock/618f5cc91072f92988f05a26/services/config'
)
//return window.fetch('https://', {}).then(res => res.json())
//return window.fetch('https://', {}).then(res => res.json())
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
}
}
...
...
src/views/expert/detail.vue
View file @
174b787
...
@@ -60,6 +60,7 @@ import WelcomeWords from './components/welcomeWords.vue'
...
@@ -60,6 +60,7 @@ import WelcomeWords from './components/welcomeWords.vue'
import
SelectMember
from
'./components/selectMember.vue'
import
SelectMember
from
'./components/selectMember.vue'
import
glsxDialog
from
'@/components/glsx-dialog/index.vue'
import
glsxDialog
from
'@/components/glsx-dialog/index.vue'
import
glsxCombiForm
from
'@/components/glsx-combi-form'
import
glsxCombiForm
from
'@/components/glsx-combi-form'
import
{
pictureUpload
}
from
'@/api/modules/common'
export
default
{
export
default
{
name
:
'expert_detail'
,
name
:
'expert_detail'
,
components
:
{
components
:
{
...
@@ -81,13 +82,14 @@ export default {
...
@@ -81,13 +82,14 @@ export default {
name
:
'图片'
,
name
:
'图片'
,
funcName
:
''
,
funcName
:
''
,
type
:
'img'
,
type
:
'img'
,
togetherItem
:
[
ATT_TYPE
.
TEXT
]
//只允许文本和图片
togetherItem
:
[
ATT_TYPE
.
TEXT
],
//只允许文本和图片
// limitPx: 1000
// limitSize: 10, //限制图片大小
// limitSize: 10, //限制图片大小
// limitNum: 2, //限制图片数量
// limitNum: 2, //限制图片数量
// limitWidth: 10000, //限制单张图片宽度
// limitWidth: 10000, //限制单张图片宽度
// limitHeight: 10000,//限制单张图片高度
// limitHeight: 10000,//限制单张图片高度
// Isdraggable: true, //图片拖拽
// Isdraggable: true, //图片拖拽
// uploadApi: this.$apis.common.
pictureUpload
uploadApi
:
pictureUpload
},
},
{
{
name
:
'昵称'
,
name
:
'昵称'
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment