Skip to content

分享链接如何增加页面标题 #2333

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
97425420 opened this issue Mar 17, 2025 · 2 comments
Open

分享链接如何增加页面标题 #2333

97425420 opened this issue Mar 17, 2025 · 2 comments

Comments

@97425420
Copy link

Image

分享页面想增加一个分享时自带标题的功能,不知道取那个字段

现在是这么写的

i("p", [t._v("\n 《" + t._v(t._s(e.page_title))+ "》"), i("code", [t._v(t._s(t.share_page_link))]), t._v(" "), i("i", { directives: [{ name: "clipboard", rawName: "v-clipboard:copy", value: t.share_page_link, expression: "share_page_link", arg: "copy" }, { name: "clipboard", rawName: "v-clipboard:success", value: t.onCopy, expression: "onCopy", arg: "success" }], staticClass: "el-icon-document-copy cursor-pointer" })]),

@97425420
Copy link
Author

            i("p", [t._v("\n      《" + t._v(t._s(e.page_title))+ "》"), i("code", [t._v(t._s(t.share_page_link))]), t._v(" "), i("i", {
                directives: [{
                    name: "clipboard",
                    rawName: "v-clipboard:copy",
                    value: t.share_page_link,
                    expression: "share_page_link",
                    arg: "copy"
                },
                {
                    name: "clipboard",
                    rawName: "v-clipboard:success",
                    value: t.onCopy,
                    expression: "onCopy",
                    arg: "success"
                }],
                staticClass: "el-icon-document-copy cursor-pointer"
            })]),

@star7th
Copy link
Owner

star7th commented Mar 17, 2025

二次开发请参考文档 https://www.showdoc.com.cn/help/1385576954326448

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants