Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
syntax_j
mycard
Commits
b17d4b40
Commit
b17d4b40
authored
Dec 15, 2016
by
wudizhanche1000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
校验失败提示
parent
f9c631e9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
app/app-detail.component.html
app/app-detail.component.html
+1
-1
app/app-detail.component.ts
app/app-detail.component.ts
+1
-0
app/apps.service.ts
app/apps.service.ts
+1
-0
No files found.
app/app-detail.component.html
View file @
b17d4b40
...
...
@@ -77,7 +77,7 @@
</div>
<h2
i18n
>
本地文件
</h2>
<button
i18n
(click)=
"appsService.browse(currentApp)"
[disabled]=
"!appsService.allReady(currentApp)"
type=
"button"
class=
"btn btn-secondary"
>
浏览本地文件
</button>
<button
i18n
type=
"button"
(click)=
"verifyFiles(currentApp)"
class=
"btn btn-secondary"
>
校验完整性
</button>
<button
i18n
type=
"button"
(click)=
"verifyFiles(currentApp)"
[disabled]=
"!appsService.allReady(currentApp)"
class=
"btn btn-secondary"
>
校验完整性
</button>
<button
i18n
(click)=
"uninstall(currentApp)"
[disabled]=
"!appsService.allReady(currentApp)"
type=
"button"
class=
"btn btn-secondary"
>
卸载
</button>
</div>
...
...
app/app-detail.component.ts
View file @
b17d4b40
...
...
@@ -171,6 +171,7 @@ export class AppDetailComponent implements OnInit {
await
this
.
appsService
.
update
(
mod
,
true
);
}
}
catch
(
e
)
{
new
Notification
(
app
.
name
,
{
body
:
"
校验失败
"
});
console
.
log
(
e
);
}
}
...
...
app/apps.service.ts
View file @
b17d4b40
...
...
@@ -496,6 +496,7 @@ export class AppsService {
}
catch
(
e
)
{
Logger
.
error
(
"
Update Failed:
"
,
e
);
app
.
status
.
status
=
"
ready
"
;
throw
e
;
}
}
}
...
...
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