Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-05-10 16:19:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f7070855324debaf20ae013c6bb3fe7ae1861f74
f7070855
1 parent
63d0fde7
✨ feat(上传视频跳转功能): 新增URL
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
src/components/BookCard/index.vue
src/views/client/bookDetail.vue
src/components/BookCard/index.vue
View file @
f707085
...
...
@@ -32,7 +32,9 @@ const handle = () => {
// 上传视频
const onUpload = (v) => {
// TODO: 上传视频直接跳转?不需要表示判断是上传那本书吗?
console.warn(v);
location.href = 'http://jsj.onwall.cn/f/g7D0MT';
}
onMounted(() => {
...
...
src/views/client/bookDetail.vue
View file @
f707085
...
...
@@ -192,8 +192,9 @@ const uploadVideo = () => {
.then(res => {
if (res.data.code === 1) {
if (res.data.data.can_upload) {
// TODO: 上传视频直接跳转?不需要表示判断是上传哪个幼儿园吗?
// 实名认证之后直接跳转上传页面
location.href = 'http
://jsj.onwall.cn/f/gZntnp
';
location.href = 'http
s://jinshuju.net/f/NAGn1D
';
} else {
// 如果没有实名认证需要提示用户实名认证
showNotice.value = true;
...
...
Please
register
or
login
to post a comment