Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
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 b75b0c34
authored
Apr 08, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(venus-usedcar-quality): 分享修改
1 parent
06c989c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
15 deletions
apps/web/venus-usedcar-quality/src/views/report/vehicle-brief/index.vue
apps/web/venus-usedcar-quality/src/views/report/vehicle-brief/index.vue
View file @
b75b0c3
...
...
@@ -432,21 +432,10 @@ async function copyToClipboard(text: string) {
function share() {
setReportTrackData(0, "shareVehicleBrief");
const url = window.location.href;
setReportTrackData(0, "shareVehicle");
console.log(route.query);
if (!route.query.source) {
copyToClipboard(url).then((ok) => {
if (ok) showToast("链接已复制,可直接粘贴转发");
else showToast("复制失败,请手动复制地址栏链接");
});
return;
}
shareGuideVisible.value = true;
// const url = window.location.href;
// copyToClipboard(url).then((ok) => {
// if (ok) showToast("链接已复制,可直接粘贴分享");
// else showToast("复制失败,请手动复制地址栏链接");
// });
copyToClipboard(url).then((ok) => {
if (ok) showToast("链接已复制,可直接粘贴分享");
else showToast("复制失败,请手动复制地址栏链接");
});
}
</
script
>
...
...
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