Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
8abc526f
Commit
8abc526f
authored
Dec 24, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
就是修改
parent
947164bd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
common.js
src/api/common/common.js
+8
-1
siteconfig.vue
src/pages/system/siteconfig.vue
+3
-3
No files found.
src/api/common/common.js
View file @
8abc526f
...
...
@@ -193,7 +193,8 @@ export function getFileExt(filename) {
* 教育文件下载
*/
export
function
EduDownLoad
(
cmd
,
msg
,
fileName
)
{
export
function
EduDownLoad
(
cmd
,
msg
,
fileName
,
callBack
)
{
console
.
log
(
"callBack"
,
callBack
);
return
request
({
url
:
cmd
,
method
:
'post'
,
...
...
@@ -211,5 +212,11 @@ export function EduDownLoad(cmd, msg, fileName) {
link
.
setAttribute
(
"download"
,
fileName
);
document
.
body
.
appendChild
(
link
);
link
.
click
();
if
(
callBack
)
{
var
result
=
{
Code
:
1
};
callBack
(
result
);
}
})
}
src/pages/system/siteconfig.vue
View file @
8abc526f
...
...
@@ -135,9 +135,9 @@
},
//设为默认
setMoren
(
obj
)
{
let
m
sg
=
obj
;
m
sg
.
IsDefault
=
1
;
setSiteConfig
(
m
sg
).
then
(
res
=>
{
let
newM
sg
=
obj
;
newM
sg
.
IsDefault
=
1
;
setSiteConfig
(
newM
sg
).
then
(
res
=>
{
this
.
$q
.
notify
({
icon
:
'iconfont icon-chenggong'
,
color
:
'accent'
,
...
...
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