vue如何修改网页名称

vue如何修改网页名称

在Vue.js项目中修改网页的名称非常简单。1、修改public/index.html中的<title>标签;2、动态修改可以使用vue-meta插件。这两种方法可以灵活地满足你在不同场景下的需求。下面将详细说明这两种方法的步骤和具体操作。

一、修改`public/index.html`中的``标签</h2></p> <p><p>这种方法适用于全局统一修改网页标题的情况。</p> </p> <ol> <li>打开Vue项目的<code>public</code>文件夹。</li> <li>找到并打开<code>index.html</code>文件。</li> <li>在<code><head></code>标签内找到或添加<code><title></code>标签。</li> <li>在<code><title></code>标签中输入你希望设置的网页名称。</li> </ol> <p><pre><code class="language-html"><!DOCTYPE html></p> <p><html lang="en"></p> <p><head></p> <p> <meta charset="UTF-8"></p> <p> <meta name="viewport" content="width=device-width, initial-scale=1.0"></p> <p> <title>你的网页名称</title></p> <p></head></p> <p><body></p> <p> <noscript></p> <p> <strong>We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></p> <p> </noscript></p> <p> <div id="app"></div></p> <p></body></p> <p></html></p> <p></code></pre></p> <p><h2>二、动态修改网页名称使用`vue-meta`插件</h2></p> <p><p>如果你需要根据不同的路由或页面动态修改网页名称,推荐使用<code>vue-meta</code>插件。</p> </p> <ol> <li>安装<code>vue-meta</code>插件:</li> </ol> <p><pre><code class="language-bash">npm install vue-meta</p> <p></code></pre></p> <ol start="2"> <li>在项目的<code>main.js</code>文件中引入并使用<code>vue-meta</code>:</li> </ol> <p><pre><code class="language-javascript">import Vue from 'vue';</p> <p>import App from './App.vue';</p> <p>import VueMeta from 'vue-meta';</p> <p>Vue.use(VueMeta);</p> <p>new Vue({</p> <p> render: h => h(App),</p> <p>}).$mount('#app');</p> <p></code></pre></p> <ol start="3"> <li>在每个组件或页面文件中,使用<code>metaInfo</code>属性设置标题:</li> </ol> <p><pre><code class="language-javascript">export default {</p> <p> metaInfo: {</p> <p> title: '组件或页面标题'</p> <p> }</p> <p>}</p> <p></code></pre></p> <ol start="4"> <li>如果你使用了Vue Router,可以在路由配置中设置标题:</li> </ol> <p><pre><code class="language-javascript">const routes = [</p> <p> {</p> <p> path: '/home',</p> <p> component: Home,</p> <p> meta: {</p> <p> title: '主页'</p> <p> }</p> <p> },</p> <p> {</p> <p> path: '/about',</p> <p> component: About,</p> <p> meta: {</p> <p> title: '关于我们'</p> <p> }</p> <p> }</p> <p>];</p> <p>// 在路由守卫中修改标题</p> <p>router.beforeEach((to, from, next) => {</p> <p> if (to.meta.title) {</p> <p> document.title = to.meta.title;</p> <p> }</p> <p> next();</p> <p>});</p> <p></code></pre></p> <p><h2>三、总结</h2></p> <p><p>在Vue.js项目中修改网页名称,可以通过<strong>1、修改<code>public/index.html</code>中的<code><title></code>标签;2、动态修改可以使用<code>vue-meta</code>插件</strong>这两种方法来实现。前者适用于全局统一的网页名称修改,后者则更灵活,适用于需要根据不同页面动态修改标题的情况。</p> </p> <p><p><strong>进一步建议</strong>:</p> </p> <ul> <li>如果你的项目结构较为简单,并且网页名称不需要频繁变化,推荐使用第一种方法,简单直接。</li> <li>如果你的项目包含多个页面或路由,并且需要根据用户操作动态修改网页名称,推荐使用第二种方法,灵活且便于管理。</li> </ul> <p><p>通过这两种方法,可以确保你在不同的场景下都能方便、有效地修改Vue.js项目的网页名称,提高用户体验和SEO效果。</p> </p> <h2><strong>相关问答FAQs:</strong></h2> <p><strong>1. 如何使用Vue修改网页标题?</strong></p> <p>在Vue中修改网页标题可以通过两种方式实现:使用Vue Router或直接通过JavaScript来修改。</p> <p>使用Vue Router修改网页标题的步骤如下:</p> <ul> <li>首先,在Vue项目中安装Vue Router:<code>npm install vue-router</code></li> <li>在main.js中引入Vue Router并使用:<code>import VueRouter from 'vue-router'</code>,<code>Vue.use(VueRouter)</code></li> <li>创建一个新的Vue Router实例:<code>const router = new VueRouter({ routes })</code>,其中<code>routes</code>是你的路由配置</li> <li>在Vue实例中指定router:<code>new Vue({ router })</code></li> <li>在每个路由组件中设置网页标题:在组件中添加<code>meta</code>字段,如<code>meta: { title: '页面标题' }</code>,然后在Vue Router实例中添加导航守卫,通过<code>beforeEach</code>方法来修改网页标题,如下所示:</li> </ul> <pre><code>router.beforeEach((to, from, next) => { document.title = to.meta.title next() }) </code></pre> <p>如果你不使用Vue Router,可以直接通过JavaScript来修改网页标题,如下所示:</p> <ul> <li>在需要修改标题的组件中,使用<code>mounted</code>生命周期钩子函数来修改网页标题,如:</li> </ul> <pre><code>mounted() { document.title = '页面标题' } </code></pre> <p><strong>2. 如何根据不同路由动态修改网页标题?</strong></p> <p>如果你的网页有多个路由,并且每个路由都有不同的标题,你可以使用Vue Router的导航守卫来动态修改网页标题。</p> <p>在Vue Router的导航守卫中,可以通过<code>to</code>对象获取目标路由的信息,并根据这些信息来设置网页标题。例如,你可以在<code>beforeEach</code>方法中根据<code>to</code>对象的路径来设置不同的网页标题,如下所示:</p> <pre><code>router.beforeEach((to, from, next) => { if (to.path === '/home') { document.title = '首页' } else if (to.path === '/about') { document.title = '关于我们' } else if (to.path === '/contact') { document.title = '联系我们' } next() }) </code></pre> <p>这样,当用户访问不同的路由时,网页标题就会根据路由的不同而发生变化。</p> <p><strong>3. 如何在Vue中使用多语言来修改网页标题?</strong></p> <p>在多语言的Vue项目中,你可能需要根据用户的语言偏好来修改网页标题。这可以通过Vue的国际化插件来实现,比如vue-i18n。</p> <p>使用vue-i18n来修改网页标题的步骤如下:</p> <ul> <li>首先,在Vue项目中安装vue-i18n:<code>npm install vue-i18n</code></li> <li>在main.js中引入vue-i18n并使用:<code>import VueI18n from 'vue-i18n'</code>,<code>Vue.use(VueI18n)</code></li> <li>创建一个新的VueI18n实例,配置各种语言的标题:如</li> </ul> <pre><code>const i18n = new VueI18n({ locale: 'en', messages: { en: { title: 'Page Title' }, zh: { title: '网页标题' } } }) </code></pre> <ul> <li>在Vue实例中指定i18n:<code>new Vue({ i18n })</code></li> <li>在需要修改标题的组件中,使用VueI18n的<code>$t</code>方法来获取对应语言的标题,如:</li> </ul> <pre><code>mounted() { document.title = this.$t('title') } </code></pre> <p>这样,当用户切换语言时,网页标题会根据当前语言自动改变。</p> <div class="entry-copyright"><p>文章标题:vue如何修改网页名称,发布者:不及物动词,转载请注明出处:<span>https://worktile.com/kb/p/3630109</span></p></div> </div> <div class="entry-tag"></div> <div class="entry-action"> <div class="btn-zan" data-id="3630109"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-thumb-up-fill"></use></svg></i> 赞 <span class="entry-action-num">(0)</span></div> <div class="btn-dashang"> <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-cny-circle-fill"></use></svg></i> 打赏 <span class="dashang-img dashang-img2"> <span> <img src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2022/03/04163951/2022030408395195.png" alt="微信扫一扫"/> 微信扫一扫 </span> <span> <img src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2022/03/04164017/2022030408401730.png" alt="支付宝扫一扫"/> 支付宝扫一扫 </span> </span> </div> </div> <div class="entry-bar"> <div class="entry-bar-inner"> <div class="entry-bar-author"> <a data-user="2" target="_blank" href="https://worktile.com/kb/user/2" class="avatar j-user-card"> <img alt='不及物动词的头像' src='https://cdn-kb.worktile.com/kb/wp-content/uploads/2024/06/200-200.jpg' class='avatar avatar-60 photo' height='60' width='60' /><span class="author-name">不及物动词</span> </a> </div> <div class="entry-bar-info"> <div class="info-item meta"> <a class="meta-item j-heart" href="javascript:;" data-id="3630109"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-star"></use></svg></i> <span class="data">0</span></a> <a class="meta-item" href="#comments"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-comment"></use></svg></i> <span class="data">0</span></a> </div> <div class="info-item share"> <a class="meta-item mobile j-mobile-share" href="javascript:;" data-id="3630109" data-qrcode="https://worktile.com/kb/p/3630109"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-share"></use></svg></i> 生成海报</a> <a class="meta-item wechat" data-share="wechat" target="_blank" rel="nofollow" href="#"> <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-wechat"></use></svg></i> </a> <a class="meta-item weibo" data-share="weibo" target="_blank" rel="nofollow" href="#"> <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-weibo"></use></svg></i> </a> <a class="meta-item qq" data-share="qq" target="_blank" rel="nofollow" href="#"> <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-qq"></use></svg></i> </a> <a class="meta-item qzone" data-share="qzone" target="_blank" rel="nofollow" href="#"> <i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-qzone"></use></svg></i> </a> </div> <div class="info-item act"> <a href="javascript:;" id="j-reading"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-article"></use></svg></i></a> </div> </div> </div> </div> </div> <div id="comments" class="entry-comments"> <div id="respond" class="comment-respond"> <h3 id="reply-title" class="comment-reply-title">发表回复 <small><a rel="nofollow" id="cancel-comment-reply-link" href="/kb/p/3630109#respond" style="display:none;"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-close"></use></svg></i></a></small></h3><div class="comment-form"><div class="comment-must-login">请登录后评论...</div><div class="form-submit"><div class="form-submit-text pull-left"><a href="https://worktile.com/kb/login?modal-type=login">登录</a>后才能评论</div> <button name="submit" type="submit" id="must-submit" class="btn btn-primary btn-xs submit">提交</button></div></div> </div><!-- #respond --> </div><!-- .comments-area --> </article> </main> <aside class="sidebar"> <div class="widget widget_image_myimg"> <a href="https://docs.pingcode.com/resource/pingcode-wiki?utm_source=kb&utm_medium=%E5%8F%B3%E4%BE%A7%E5%AF%BC%E8%88%AA%E6%A0%8F%E5%B9%BF%E5%91%8A&utm_campaign=%E7%9F%A5%E8%AF%86%E7%AE%A1%E7%90%86%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88"> <img class="j-lazy" src="https://worktile.com/kb/wp-content/uploads/2022/02/lazy.png" data-original="https://cdn-kb.worktile.com/kb/wp-content/uploads/2024/08/2024080806303818.png" alt="知识管理解决方案"> </a> </div><div class="widget widget_post_tabs"> <div class="post-tabs-hd"> <div class="post-tabs-hd-inner post-tabs-3"> <div class="post-tabs-item j-post-tab active"> 软件选型 </div> <div class="post-tabs-item j-post-tab"> 热门文章 </div> <div class="post-tabs-item j-post-tab"> 猜你喜欢 </div> </div> </div> <ul class="post-tabs-list j-post-tab-wrap active"> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://worktile.com/kb/p/3599141" title="八大主流项目管理系统盘点,提升团队协作效率"> <img width="1024" height="598" src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2024/11/20241108105254216-1024x598-1.png" class="attachment-default size-default wp-post-image" alt="八大主流项目管理系统盘点,提升团队协作效率" decoding="async" /> </a> </div> <div class="item-content"> <p class="item-title"><a href="https://worktile.com/kb/p/3599141" title="八大主流项目管理系统盘点,提升团队协作效率">八大主流项目管理系统盘点,提升团队协作效率</a></p> <p class="item-date">2024年11月9日</p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://worktile.com/kb/p/3481533" title="9款热门协同工具评测,团队管理更轻松"> <img width="1024" height="604" src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2024/09/2024082301083027-1024x604-1.png" class="attachment-default size-default wp-post-image" alt="9款热门协同工具评测,团队管理更轻松" decoding="async" /> </a> </div> <div class="item-content"> <p class="item-title"><a href="https://worktile.com/kb/p/3481533" title="9款热门协同工具评测,团队管理更轻松">9款热门协同工具评测,团队管理更轻松</a></p> <p class="item-date">2024年9月9日</p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://worktile.com/kb/p/1688197" title="客户关系管理软件有哪些?对比16款"> <img width="480" height="300" src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2024/04/4a3e13b2-cff3-4675-9376-af314c2e7db1-1-480x300.webp" class="attachment-default size-default wp-post-image" alt="客户关系管理软件有哪些?对比16款" decoding="async" /> </a> </div> <div class="item-content"> <p class="item-title"><a href="https://worktile.com/kb/p/1688197" title="客户关系管理软件有哪些?对比16款">客户关系管理软件有哪些?对比16款</a></p> <p class="item-date">2024年4月29日</p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://worktile.com/kb/p/1498568" title="2024年项目管理软件排行榜"> <img width="800" height="450" src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2024/04/19d808fb-d71a-41c0-a15d-8865356becb5.webp" class="attachment-default size-default wp-post-image" alt="2024年项目管理软件排行榜" decoding="async" /> </a> </div> <div class="item-content"> <p class="item-title"><a href="https://worktile.com/kb/p/1498568" title="2024年项目管理软件排行榜">2024年项目管理软件排行榜</a></p> <p class="item-date">2024年4月25日</p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://worktile.com/kb/p/65432" title="哪些软件适合用来做企业知识管理"> <img width="1024" height="562" src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2023/08/image-64-1024x562-1.png" class="attachment-default size-default wp-post-image" alt="哪些软件适合用来做企业知识管理" decoding="async" /> </a> </div> <div class="item-content"> <p class="item-title"><a href="https://worktile.com/kb/p/65432" title="哪些软件适合用来做企业知识管理">哪些软件适合用来做企业知识管理</a></p> <p class="item-date">2023年8月22日</p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://worktile.com/kb/p/37702" title="不错的在线看板工具软件有哪些"> <img width="480" height="300" src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2023/02/63e4c1c7eb46351e474f20b0-480x300.png" class="attachment-default size-default wp-post-image" alt="不错的在线看板工具软件有哪些" decoding="async" /> </a> </div> <div class="item-content"> <p class="item-title"><a href="https://worktile.com/kb/p/37702" title="不错的在线看板工具软件有哪些">不错的在线看板工具软件有哪些</a></p> <p class="item-date">2023年2月10日</p> </div> </li> </ul> <ul class="post-tabs-list j-post-tab-wrap"> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://worktile.com/kb/p/63857" title="办公自动化oa需求"> <img width="480" height="300" src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2023/08/2023080310242475-1-480x300.png" class="attachment-default size-default wp-post-image" alt="办公自动化oa需求" decoding="async" /> </a> </div> <div class="item-content"> <p class="item-title"><a href="https://worktile.com/kb/p/63857" title="办公自动化oa需求">办公自动化oa需求</a></p> <p class="item-date">2023年8月3日</p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://worktile.com/kb/p/52840" title="oa办公系统需要什么设备"> <img src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2023/05/3-4.png" width="480" height="300" alt="oa办公系统需要什么设备"> </a> </div> <div class="item-content"> <p class="item-title"><a href="https://worktile.com/kb/p/52840" title="oa办公系统需要什么设备">oa办公系统需要什么设备</a></p> <p class="item-date">2023年5月28日</p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://worktile.com/kb/p/52795" title="oa办公系统需要什么硬件"> <img src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2023/05/1-6.png" width="480" height="300" alt="oa办公系统需要什么硬件"> </a> </div> <div class="item-content"> <p class="item-title"><a href="https://worktile.com/kb/p/52795" title="oa办公系统需要什么硬件">oa办公系统需要什么硬件</a></p> <p class="item-date">2023年5月28日</p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://worktile.com/kb/p/63765" title="抖音是否可以同时在两个手机上登录?"> <img width="480" height="300" src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2023/08/2023080302511956-480x300.png" class="attachment-default size-default wp-post-image" alt="抖音是否可以同时在两个手机上登录?" decoding="async" /> </a> </div> <div class="item-content"> <p class="item-title"><a href="https://worktile.com/kb/p/63765" title="抖音是否可以同时在两个手机上登录?">抖音是否可以同时在两个手机上登录?</a></p> <p class="item-date">2023年8月3日</p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://worktile.com/kb/p/36346" title="i5和i7有什么区别"> <img width="480" height="300" src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2023/02/i5和i7有什么区别-1-480x300.jpg" class="attachment-default size-default wp-post-image" alt="i5和i7有什么区别" decoding="async" /> </a> </div> <div class="item-content"> <p class="item-title"><a href="https://worktile.com/kb/p/36346" title="i5和i7有什么区别">i5和i7有什么区别</a></p> <p class="item-date">2023年1月31日</p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://worktile.com/kb/p/32140" title="okr和kpi的区别是什么"> <img width="480" height="300" src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2023/02/okr和kpi的区别是什么-1-480x300.jpg" class="attachment-default size-default wp-post-image" alt="okr和kpi的区别是什么" decoding="async" /> </a> </div> <div class="item-content"> <p class="item-title"><a href="https://worktile.com/kb/p/32140" title="okr和kpi的区别是什么">okr和kpi的区别是什么</a></p> <p class="item-date">2022年11月16日</p> </div> </li> </ul> <ul class="post-tabs-list j-post-tab-wrap"> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://worktile.com/kb/p/3398894" title="精细的项目管理包括哪些"> <img src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2023/05/33.png" width="480" height="300" alt="精细的项目管理包括哪些"> </a> </div> <div class="item-content"> <p class="item-title"><a href="https://worktile.com/kb/p/3398894" title="精细的项目管理包括哪些">精细的项目管理包括哪些</a></p> <p class="item-date">2024年8月21日</p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://worktile.com/kb/p/3124788" title="项目管理关键环节有哪些特别措施"> <img width="480" height="300" src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2024/08/c478be44-f808-4235-a77e-7cb6b5f29b03-480x300.webp" class="attachment-default size-default wp-post-image" alt="项目管理关键环节有哪些特别措施" decoding="async" /> </a> </div> <div class="item-content"> <p class="item-title"><a href="https://worktile.com/kb/p/3124788" title="项目管理关键环节有哪些特别措施">项目管理关键环节有哪些特别措施</a></p> <p class="item-date">2024年8月5日</p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://worktile.com/kb/p/3426747" title="如何跟项目管理学习"> <img src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2023/05/3-4.png" width="480" height="300" alt="如何跟项目管理学习"> </a> </div> <div class="item-content"> <p class="item-title"><a href="https://worktile.com/kb/p/3426747" title="如何跟项目管理学习">如何跟项目管理学习</a></p> <p class="item-date">2024年8月23日</p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://worktile.com/kb/p/2841388" title="数据库 主码读法是什么"> <img src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2023/05/3-4.png" width="480" height="300" alt="数据库 主码读法是什么"> </a> </div> <div class="item-content"> <p class="item-title"><a href="https://worktile.com/kb/p/2841388" title="数据库 主码读法是什么">数据库 主码读法是什么</a></p> <p class="item-date">2024年7月13日</p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://worktile.com/kb/p/3346959" title="如何对销售业绩管理"> <img src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2023/05/2-1.png" width="480" height="300" alt="如何对销售业绩管理"> </a> </div> <div class="item-content"> <p class="item-title"><a href="https://worktile.com/kb/p/3346959" title="如何对销售业绩管理">如何对销售业绩管理</a></p> <p class="item-date">2024年8月20日</p> </div> </li> <li class="item"> <div class="item-img"> <a class="item-img-inner" href="https://worktile.com/kb/p/3370842" title="日本项目管理岗位有哪些"> <img src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2023/05/5-1.png" width="480" height="300" alt="日本项目管理岗位有哪些"> </a> </div> <div class="item-content"> <p class="item-title"><a href="https://worktile.com/kb/p/3370842" title="日本项目管理岗位有哪些">日本项目管理岗位有哪些</a></p> <p class="item-date">2024年8月20日</p> </div> </li> </ul> </div><div class="widget widget_image_myimg"> <a href="https://pingcode.com/solutions/white-paper-2023baipishu?utm_source=kb&utm_medium=%E5%8F%B3%E4%BE%A7%E5%AF%BC%E8%88%AA%E6%A0%8F%E5%B9%BF%E5%91%8A&utm_campaign=%E6%95%8F%E6%8D%B7%E7%99%BD%E7%9A%AE%E4%B9%A6%E4%B8%8B%E8%BD%BD"> <img class="j-lazy" src="https://worktile.com/kb/wp-content/uploads/2022/02/lazy.png" data-original="https://cdn-kb.worktile.com/kb/wp-content/uploads/2024/08/2024080806315165.png" alt="敏捷白皮书"> </a> </div><div class="widget widget_tag_cloud"><h3 class="widget-title"><span>热门标签</span></h3><div class="tagcloud"><a href="https://worktile.com/kb/tag/cad" class="tag-cloud-link tag-link-1199 tag-link-position-1" style="font-size: 8pt;" aria-label="cad (30 个项目)">cad<span class="tag-link-count"> (30)</span></a> <a href="https://worktile.com/kb/tag/crm" class="tag-cloud-link tag-link-440 tag-link-position-2" style="font-size: 9.0208333333333pt;" aria-label="crm (35 个项目)">crm<span class="tag-link-count"> (35)</span></a> <a href="https://worktile.com/kb/tag/crm%e7%b3%bb%e7%bb%9f" class="tag-cloud-link tag-link-3191 tag-link-position-3" style="font-size: 9.6041666666667pt;" aria-label="CRM系统 (39 个项目)">CRM系统<span class="tag-link-count"> (39)</span></a> <a href="https://worktile.com/kb/tag/mysql" class="tag-cloud-link tag-link-739 tag-link-position-4" style="font-size: 17.333333333333pt;" aria-label="mysql (134 个项目)">mysql<span class="tag-link-count"> (134)</span></a> <a href="https://worktile.com/kb/tag/windows" class="tag-cloud-link tag-link-172 tag-link-position-5" style="font-size: 18.5pt;" aria-label="windows (162 个项目)">windows<span class="tag-link-count"> (162)</span></a> <a href="https://worktile.com/kb/tag/word" class="tag-cloud-link tag-link-847 tag-link-position-6" style="font-size: 9.3125pt;" aria-label="word (37 个项目)">word<span class="tag-link-count"> (37)</span></a> <a href="https://worktile.com/kb/tag/%e4%ba%ba%e5%8a%9b%e8%b5%84%e6%ba%90" class="tag-cloud-link tag-link-2232 tag-link-position-7" style="font-size: 11.208333333333pt;" aria-label="人力资源 (50 个项目)">人力资源<span class="tag-link-count"> (50)</span></a> <a href="https://worktile.com/kb/tag/%e4%bb%80%e4%b9%88" class="tag-cloud-link tag-link-284 tag-link-position-8" style="font-size: 22pt;" aria-label="什么 (278 个项目)">什么<span class="tag-link-count"> (278)</span></a> <a href="https://worktile.com/kb/tag/%e4%bc%81%e4%b8%9a%e7%ae%a1%e7%90%86" class="tag-cloud-link tag-link-1211 tag-link-position-9" style="font-size: 10.041666666667pt;" aria-label="企业管理 (42 个项目)">企业管理<span class="tag-link-count"> (42)</span></a> <a href="https://worktile.com/kb/tag/%e4%bd%8e%e4%bb%a3%e7%a0%81%e8%bd%af%e4%bb%b6" class="tag-cloud-link tag-link-2407 tag-link-position-10" style="font-size: 10.1875pt;" aria-label="低代码软件 (43 个项目)">低代码软件<span class="tag-link-count"> (43)</span></a> <a href="https://worktile.com/kb/tag/%e4%bd%9c%e7%94%a8" class="tag-cloud-link tag-link-898 tag-link-position-11" style="font-size: 9.4583333333333pt;" aria-label="作用 (38 个项目)">作用<span class="tag-link-count"> (38)</span></a> <a href="https://worktile.com/kb/tag/%e4%bd%bf%e7%94%a8" class="tag-cloud-link tag-link-882 tag-link-position-12" style="font-size: 10.479166666667pt;" aria-label="使用 (45 个项目)">使用<span class="tag-link-count"> (45)</span></a> <a href="https://worktile.com/kb/tag/%e5%87%bd%e6%95%b0" class="tag-cloud-link tag-link-877 tag-link-position-13" style="font-size: 8pt;" aria-label="函数 (30 个项目)">函数<span class="tag-link-count"> (30)</span></a> <a href="https://worktile.com/kb/tag/%e5%88%86%e6%9e%90" class="tag-cloud-link tag-link-866 tag-link-position-14" style="font-size: 11.208333333333pt;" aria-label="分析 (50 个项目)">分析<span class="tag-link-count"> (50)</span></a> <a href="https://worktile.com/kb/tag/%e5%93%aa%e4%ba%9b" class="tag-cloud-link tag-link-303 tag-link-position-15" style="font-size: 19.520833333333pt;" aria-label="哪些 (190 个项目)">哪些<span class="tag-link-count"> (190)</span></a> <a href="https://worktile.com/kb/tag/%e5%9b%a2%e9%98%9f" class="tag-cloud-link tag-link-265 tag-link-position-16" style="font-size: 8.7291666666667pt;" aria-label="团队 (34 个项目)">团队<span class="tag-link-count"> (34)</span></a> <a href="https://worktile.com/kb/tag/%e5%a6%82%e4%bd%95" class="tag-cloud-link tag-link-279 tag-link-position-17" style="font-size: 20.833333333333pt;" aria-label="如何 (233 个项目)">如何<span class="tag-link-count"> (233)</span></a> <a href="https://worktile.com/kb/tag/%e5%ae%9e%e7%8e%b0" class="tag-cloud-link tag-link-400 tag-link-position-18" style="font-size: 10.1875pt;" aria-label="实现 (43 个项目)">实现<span class="tag-link-count"> (43)</span></a> <a href="https://worktile.com/kb/tag/%e5%b7%a5%e5%85%b7" class="tag-cloud-link tag-link-327 tag-link-position-19" style="font-size: 9.6041666666667pt;" aria-label="工具 (39 个项目)">工具<span class="tag-link-count"> (39)</span></a> <a href="https://worktile.com/kb/tag/%e6%80%8e%e4%b9%88" class="tag-cloud-link tag-link-828 tag-link-position-20" style="font-size: 16.75pt;" aria-label="怎么 (121 个项目)">怎么<span class="tag-link-count"> (121)</span></a> <a href="https://worktile.com/kb/tag/%e6%95%8f%e6%8d%b7%e5%bc%80%e5%8f%91" class="tag-cloud-link tag-link-127 tag-link-position-21" style="font-size: 9.6041666666667pt;" aria-label="敏捷开发 (39 个项目)">敏捷开发<span class="tag-link-count"> (39)</span></a> <a href="https://worktile.com/kb/tag/%e6%96%87%e4%bb%b6" class="tag-cloud-link tag-link-903 tag-link-position-22" style="font-size: 8pt;" aria-label="文件 (30 个项目)">文件<span class="tag-link-count"> (30)</span></a> <a href="https://worktile.com/kb/tag/%e7%94%b5%e8%84%91" class="tag-cloud-link tag-link-1247 tag-link-position-23" style="font-size: 8.5833333333333pt;" aria-label="电脑 (33 个项目)">电脑<span class="tag-link-count"> (33)</span></a> <a href="https://worktile.com/kb/tag/%e7%9f%a5%e8%af%86%e5%ba%93" class="tag-cloud-link tag-link-100 tag-link-position-24" style="font-size: 11.791666666667pt;" aria-label="知识库 (55 个项目)">知识库<span class="tag-link-count"> (55)</span></a> <a href="https://worktile.com/kb/tag/%e7%ae%a1%e7%90%86" class="tag-cloud-link tag-link-295 tag-link-position-25" style="font-size: 16.166666666667pt;" aria-label="管理 (111 个项目)">管理<span class="tag-link-count"> (111)</span></a> <a href="https://worktile.com/kb/tag/%e8%a7%a3%e5%86%b3" class="tag-cloud-link tag-link-860 tag-link-position-26" style="font-size: 15.291666666667pt;" aria-label="解决 (96 个项目)">解决<span class="tag-link-count"> (96)</span></a> <a href="https://worktile.com/kb/tag/%e8%bd%af%e4%bb%b6" class="tag-cloud-link tag-link-315 tag-link-position-27" style="font-size: 12.375pt;" aria-label="软件 (61 个项目)">软件<span class="tag-link-count"> (61)</span></a> <a href="https://worktile.com/kb/tag/%e9%a1%b9%e7%9b%ae" class="tag-cloud-link tag-link-276 tag-link-position-28" style="font-size: 10.1875pt;" aria-label="项目 (43 个项目)">项目<span class="tag-link-count"> (43)</span></a> <a href="https://worktile.com/kb/tag/%e9%a1%b9%e7%9b%ae%e7%ae%a1%e7%90%86" class="tag-cloud-link tag-link-131 tag-link-position-29" style="font-size: 19.375pt;" aria-label="项目管理 (185 个项目)">项目管理<span class="tag-link-count"> (185)</span></a> <a href="https://worktile.com/kb/tag/%e9%a1%b9%e7%9b%ae%e7%ae%a1%e7%90%86%e8%bd%af%e4%bb%b6" class="tag-cloud-link tag-link-977 tag-link-position-30" style="font-size: 8.4375pt;" aria-label="项目管理软件 (32 个项目)">项目管理软件<span class="tag-link-count"> (32)</span></a></div> </div><div class="widget widget_profile"><div class="profile-cover"><img class="j-lazy" src="https://worktile.com/kb/wp-content/uploads/2022/02/lazy.png" data-original="https://cdn-kb.worktile.com/kb/wp-content/uploads/2022/03/03234229/back-5.png" alt="不及物动词"></div> <div class="avatar-wrap"> <a target="_blank" href="https://worktile.com/kb/user/2" class="avatar-link"><img alt='不及物动词的头像' src='https://cdn-kb.worktile.com/kb/wp-content/uploads/2024/06/200-200.jpg' class='avatar avatar-120 photo' height='120' width='120' /></a></div> <div class="profile-info"> <a target="_blank" href="https://worktile.com/kb/user/2" class="profile-name"><span class="author-name">不及物动词</span></a> <p class="author-description">这个人很懒,什么都没有留下~</p> <div class="profile-stats"> <div class="profile-stats-inner"> <div class="user-stats-item"> <b>0</b> <span>文章</span> </div> <div class="user-stats-item"> <b>0</b> <span>评论</span> </div> <div class="user-stats-item"> <b>1696.3K</b> <span>回答</span> </div> </div> </div> </div> <div class="profile-posts"> <h3 class="widget-title"><span>最近文章</span></h3> <ul> <li><a href="https://worktile.com/kb/p/3630115" title="vue路由如何传递参数">vue路由如何传递参数</a></li> <li><a href="https://worktile.com/kb/p/3630109" title="vue如何修改网页名称">vue如何修改网页名称</a></li> <li><a href="https://worktile.com/kb/p/3630097" title="vue如何设置时间类型">vue如何设置时间类型</a></li> <li><a href="https://worktile.com/kb/p/3630092" title="vue如何修改默认端口">vue如何修改默认端口</a></li> <li><a href="https://worktile.com/kb/p/3630059" title="vue如何获取元素样式">vue如何获取元素样式</a></li> </ul> </div> </div> </aside> </div> </div> <footer class="footer"> <div class="container"> <div class="footer-col-wrap footer-with-logo-icon"> <div class="footer-col footer-col-logo"> <img src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2022/03/23134242/200-200.jpg" alt="Worktile社区"> </div> <div class="footer-col footer-col-copy"> <ul class="footer-nav hidden-xs"><li id="menu-item-3263045" class="menu-item menu-item-3263045"><a href="https://pingcode.com/solutions/white-paper-2023baipishu">2023敏捷白皮书</a></li> <li id="menu-item-3263046" class="menu-item menu-item-3263046"><a href="https://docs.pingcode.com/agile">敏捷指南</a></li> <li id="menu-item-3263048" class="menu-item menu-item-3263048"><a href="https://pingcode.com/spaces/tBi0bWVQgc/pages/6437aa38e08d0cfb14eaac63">PingCode开箱指南</a></li> <li id="menu-item-3263049" class="menu-item menu-item-3263049"><a href="https://docs.pingcode.com/okr">OKR指南</a></li> <li id="menu-item-3263051" class="menu-item menu-item-3263051"><a href="https://docs.pingcode.com/requirements-management-guide">需求管理指南</a></li> <li id="menu-item-3263052" class="menu-item menu-item-3263052"><a href="https://docs.pingcode.com/blog/project-management/23316.html">项目管理指南</a></li> </ul> <div class="copyright"> <p><span style="font-size: 16px;"><a href="https://pingcode.com/">PingCode</a>:<a href="https://pingcode.com/product/project">项目管理</a> <a href="https://pingcode.com/product/ship">产品管理</a> <a href="https://pingcode.com/product/wiki">知识管理</a> <a href="https://devops.gitlab.cn/" target="_blank" rel="noopener">Devops</a> <a href="https://pingcode.com/product/insight">效能管理</a> <a href="https://pingcode.com/product/testhub">测试管理</a> <a href="https://pingcode.com/product/teams">协作空间</a> <a href="https://pingcode.com/product/flow">自动化</a> <a href="https://pingcode.com/product/access">目录服务</a> <a href="https://www.vientianeark.cn/" target="_blank" rel="noopener">万象方舟</a></span></p> <p><a class="copyright-number mo-hidden" href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow noopener"><span class="mo-hidden">ICP:京B2-20192206 京ICP备13017353号 </span>京公网安备11010802012357号</a><span class="abuse-email mo-hidden"><span class="split-line">|</span> 违法和不良信息举报邮箱 abuse@worktile.com <span class="split-line">|</span></span><span class="copyright-years mo-hidden">© 2021 Worktile.com</span></p> </div> </div> <div class="footer-col footer-col-sns"> <div class="footer-sns"> <a class="sns-wx" href="javascript:;" aria-label="icon"> <i class="wpcom-icon fa fa-apple sns-icon"></i> <span style="background-image:url('https://cdn-kb.worktile.com/kb/wp-content/uploads/2022/03/02104346/2022030202434672.png');"></span> </a> <a class="sns-wx" href="javascript:;" aria-label="icon"> <i class="wpcom-icon fa fa-android sns-icon"></i> <span style="background-image:url('https://cdn-kb.worktile.com/kb/wp-content/uploads/2022/03/02104438/2022030202443899.png');"></span> </a> <a class="sns-wx" href="javascript:;" aria-label="icon"> <i class="wpcom-icon fa fa-weixin sns-icon"></i> <span style="background-image:url('https://cdn-kb.worktile.com/kb/wp-content/uploads/2022/03/02104524/2022030202452491.jpg');"></span> </a> <a href="http://weibo.com/iztme" target="_blank" rel="nofollow" aria-label="icon"> <i class="wpcom-icon fa fa-weibo sns-icon"></i> </a> </div> </div> </div> </div> </footer> <div class="action action-style-1 action-color-1 action-pos-1" style="bottom:120px;"> <a class="action-item" href="https://pingcode.com/signup?utm_source=KB-浮层" target="_blank" rel="nofollow"> <i class="wpcom-icon fa fa-desktop action-item-icon"></i> <span>注册PingCode</span> </a> <a class="action-item" href="https://www.sobot.com/chat/pc/v2/index.html?sysnum=b01b7974722c472e9e5af65207799681&visit_start_time=1712555816345&visitTitle=PingCode%20-%20%E6%96%B0%E4%B8%80%E4%BB%A3%E6%99%BA%E8%83%BD%E5%8C%96%E7%A0%94%E5%8F%91%E7%AE%A1%E7%90%86%E5%B7%A5%E5%85%B7&top_bar_flag=1&uid=3dfce361790a147ad4e87f77bd3cc87e&cid=413d3d7054f34e7a9b5ee2786521c67c&color=6698ff&channelid=3" target="_blank" rel="nofollow"> <i class="wpcom-icon ri-24-hours-line action-item-icon"></i> <span>在线客服</span> </a> <div class="action-item"> <i class="wpcom-icon fa fa-wechat action-item-icon"></i> <span>站长微信</span> <div class="action-item-inner action-item-type-1"> <img class="action-item-img" src="https://cdn-kb.worktile.com/kb/wp-content/uploads/2023/09/22143605/2023092206360311.jpg" alt="站长微信"> </div> </div> <div class="action-item"> <i class="wpcom-icon fa fa-phone action-item-icon"></i> <span>电话联系</span> <div class="action-item-inner action-item-type-2"> <p><strong><span style="font-size: 16px; color: #0000ff;">400-800-1024</span></strong></p> <p>工作日9:30-21:00在线</p> </div> </div> <div class="action-item j-share"> <i class="wpcom-icon wi action-item-icon"><svg aria-hidden="true"><use xlink:href="#wi-share"></use></svg></i> <span>分享本页</span> </div> <div class="action-item gotop j-top"> <i class="wpcom-icon wi action-item-icon"><svg aria-hidden="true"><use xlink:href="#wi-arrow-up-2"></use></svg></i> <span>返回顶部</span> </div> </div> <script type="text/javascript" id="main-js-extra"> /* <![CDATA[ */ var _wpcom_js = {"webp":"","ajaxurl":"https:\/\/worktile.com\/kb\/wp-admin\/admin-ajax.php","theme_url":"https:\/\/worktile.com\/kb\/wp-content\/themes\/justnews","slide_speed":"5000","is_admin":"0","js_lang":{"copy_done":"\u590d\u5236\u6210\u529f\uff01","copy_fail":"\u6d4f\u89c8\u5668\u6682\u4e0d\u652f\u6301\u62f7\u8d1d\u529f\u80fd","confirm":"\u786e\u5b9a","qrcode":"\u4e8c\u7ef4\u7801","page_loaded":"\u5df2\u7ecf\u5230\u5e95\u4e86","no_content":"\u6682\u65e0\u5185\u5bb9","load_failed":"\u52a0\u8f7d\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01","expand_more":"\u9605\u8bfb\u5269\u4f59 %s"},"lightbox":"1","post_id":"3630109","poster":{"notice":"\u8bf7\u957f\u6309\u4fdd\u5b58\u56fe\u7247\uff0c\u5c06\u5185\u5bb9\u5206\u4eab\u7ed9\u66f4\u591a\u597d\u53cb","generating":"\u6b63\u5728\u751f\u6210\u6d77\u62a5\u56fe\u7247...","failed":"\u6d77\u62a5\u56fe\u7247\u751f\u6210\u5931\u8d25"},"video_height":"482","fixed_sidebar":"1","dark_style":"0","font_url":"\/\/fonts.googleapis.com\/css2?family=Noto+Sans+SC:wght@400;500&display=swap"}; /* ]]> */ </script> <script type="text/javascript" src="https://cdn-kb.worktile.com/kb/wp-content/themes/justnews/js/main.js?ver=6.16.2" id="main-js"></script> <script type="text/javascript" src="https://cdn-kb.worktile.com/kb/wp-content/themes/justnews/themer/assets/js/icons-2.7.15.js?ver=6.16.2" id="wpcom-icons-js"></script> <script type="text/javascript" src="https://cdn-kb.worktile.com/kb/wp-includes/js/comment-reply.min.js?ver=6.4.3" id="comment-reply-js" async="async" data-wp-strategy="async"></script> <script type="text/javascript" id="wwa-js-extra"> /* <![CDATA[ */ var _wwa_js = {"ajaxurl":"https:\/\/worktile.com\/kb\/wp-admin\/admin-ajax.php","post_id":"3630109","rewarded":""}; /* ]]> */ </script> <script type="text/javascript" src="https://cdn-kb.worktile.com/kb/wp-content/plugins/justweapp/js/script.js?ver=3.13.2" id="wwa-js"></script> <script type="text/javascript" id="wpcom-member-js-extra"> /* <![CDATA[ */ var _wpmx_js = {"ajaxurl":"https:\/\/worktile.com\/kb\/wp-admin\/admin-ajax.php","plugin_url":"https:\/\/worktile.com\/kb\/wp-content\/plugins\/wpcom-member\/","post_id":"3630109","js_lang":{"login_desc":"\u60a8\u8fd8\u672a\u767b\u5f55\uff0c\u8bf7\u767b\u5f55\u540e\u518d\u8fdb\u884c\u76f8\u5173\u64cd\u4f5c\uff01","login_title":"\u8bf7\u767b\u5f55","login_btn":"\u767b\u5f55","reg_btn":"\u6ce8\u518c"},"login_url":"https:\/\/worktile.com\/kb\/login?modal-type=login","register_url":"https:\/\/worktile.com\/kb\/register?modal-type=register","errors":{"require":"\u4e0d\u80fd\u4e3a\u7a7a","email":"\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u7535\u5b50\u90ae\u7bb1","pls_enter":"\u8bf7\u8f93\u5165","password":"\u5bc6\u7801\u5fc5\u987b\u4e3a6~32\u4e2a\u5b57\u7b26","passcheck":"\u4e24\u6b21\u5bc6\u7801\u8f93\u5165\u4e0d\u4e00\u81f4","phone":"\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u7535\u8bdd\u53f7\u7801","terms":"\u8bf7\u9605\u8bfb\u5e76\u540c\u610f\u6761\u6b3e","sms_code":"\u9a8c\u8bc1\u7801\u9519\u8bef","captcha_verify":"\u8bf7\u70b9\u51fb\u6309\u94ae\u8fdb\u884c\u9a8c\u8bc1","captcha_fail":"\u4eba\u673a\u9a8c\u8bc1\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5","nonce":"\u968f\u673a\u6570\u6821\u9a8c\u5931\u8d25","req_error":"\u8bf7\u6c42\u5931\u8d25"}}; /* ]]> */ </script> <script type="text/javascript" src="https://cdn-kb.worktile.com/kb/wp-content/plugins/wpcom-member/js/index.js?ver=1.3.7" id="wpcom-member-js"></script> <script type="text/javascript" id="QAPress-js-js-extra"> /* <![CDATA[ */ var QAPress_js = {"ajaxurl":"https:\/\/worktile.com\/kb\/wp-admin\/admin-ajax.php","ajaxloading":"https:\/\/worktile.com\/kb\/wp-content\/plugins\/qapress\/images\/loading.gif","max_upload_size":"2097152","compress_img_size":"1920","lang":{"delete":"\u5220\u9664","nocomment":"\u6682\u65e0\u56de\u590d","nocomment2":"\u6682\u65e0\u8bc4\u8bba","addcomment":"\u6211\u6765\u56de\u590d","submit":"\u53d1\u5e03","loading":"\u6b63\u5728\u52a0\u8f7d...","error1":"\u53c2\u6570\u9519\u8bef\uff0c\u8bf7\u91cd\u8bd5","error2":"\u8bf7\u6c42\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01","confirm":"\u5220\u9664\u64cd\u4f5c\u65e0\u6cd5\u6062\u590d\uff0c\u5e76\u5c06\u540c\u65f6\u5220\u9664\u5f53\u524d\u56de\u590d\u7684\u8bc4\u8bba\u4fe1\u606f\uff0c\u60a8\u786e\u5b9a\u8981\u5220\u9664\u5417\uff1f","confirm2":"\u5220\u9664\u64cd\u4f5c\u65e0\u6cd5\u6062\u590d\uff0c\u60a8\u786e\u5b9a\u8981\u5220\u9664\u5417\uff1f","confirm3":"\u5220\u9664\u64cd\u4f5c\u65e0\u6cd5\u6062\u590d\uff0c\u5e76\u5c06\u540c\u65f6\u5220\u9664\u5f53\u524d\u95ee\u9898\u7684\u56de\u590d\u8bc4\u8bba\u4fe1\u606f\uff0c\u60a8\u786e\u5b9a\u8981\u5220\u9664\u5417\uff1f","deleting":"\u6b63\u5728\u5220\u9664...","success":"\u64cd\u4f5c\u6210\u529f\uff01","denied":"\u65e0\u64cd\u4f5c\u6743\u9650\uff01","error3":"\u64cd\u4f5c\u5f02\u5e38\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01","empty":"\u5185\u5bb9\u4e0d\u80fd\u4e3a\u7a7a","submitting":"\u6b63\u5728\u63d0\u4ea4...","success2":"\u63d0\u4ea4\u6210\u529f\uff01","ncomment":"0\u6761\u8bc4\u8bba","login":"\u62b1\u6b49\uff0c\u60a8\u9700\u8981\u767b\u5f55\u624d\u80fd\u8fdb\u884c\u56de\u590d","error4":"\u63d0\u4ea4\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01","need_title":"\u8bf7\u8f93\u5165\u6807\u9898","need_cat":"\u8bf7\u9009\u62e9\u5206\u7c7b","need_content":"\u8bf7\u8f93\u5165\u5185\u5bb9","success3":"\u66f4\u65b0\u6210\u529f\uff01","success4":"\u53d1\u5e03\u6210\u529f\uff01","need_all":"\u6807\u9898\u3001\u5206\u7c7b\u548c\u5185\u5bb9\u4e0d\u80fd\u4e3a\u7a7a","length":"\u5185\u5bb9\u957f\u5ea6\u4e0d\u80fd\u5c11\u4e8e10\u4e2a\u5b57\u7b26","load_done":"\u56de\u590d\u5df2\u7ecf\u5168\u90e8\u52a0\u8f7d","load_fail":"\u52a0\u8f7d\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01","load_more":"\u70b9\u51fb\u52a0\u8f7d\u66f4\u591a","approve":"\u786e\u5b9a\u8981\u5c06\u5f53\u524d\u95ee\u9898\u8bbe\u7f6e\u4e3a\u5ba1\u6838\u901a\u8fc7\u5417\uff1f","end":"\u5df2\u7ecf\u5230\u5e95\u4e86","upload_fail":"\u56fe\u7247\u4e0a\u4f20\u51fa\u9519\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01","file_types":"\u4ec5\u652f\u6301\u4e0a\u4f20jpg\u3001png\u3001gif\u683c\u5f0f\u7684\u56fe\u7247\u6587\u4ef6","file_size":"\u56fe\u7247\u5927\u5c0f\u4e0d\u80fd\u8d85\u8fc72M","uploading":"\u6b63\u5728\u4e0a\u4f20...","upload":"\u63d2\u5165\u56fe\u7247"}}; /* ]]> */ </script> <script type="text/javascript" src="https://cdn-kb.worktile.com/kb/wp-content/plugins/qapress/js/scripts.js?ver=4.9.3" id="QAPress-js-js"></script> <script type="text/javascript" src="https://cdn-kb.worktile.com/kb/wp-content/themes/justnews/js/wp-embed.js?ver=6.16.2" id="wp-embed-js"></script> <div class="top-news top-news-fluid" style="background-color: #206BE7;background-image:linear-gradient(90deg, #206BE7 0%, #3C72B1 100%);"> <div class="top-news-content container"> <div class="content-text"><a href="https://pingcode.com/signup?utm_source=KB-push">                                                                                                                           <strong>PingCode智能化研发管理工具,25人以下免费使用。</strong></a></div> <i class="wpcom-icon wi top-news-close"><svg aria-hidden="true"><use xlink:href="#wi-close"></use></svg></i> </div> </div> <!--百度统计代码--> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?1bc242ebe6c6720b70bdfbcf348d5bd4"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <!-- GrowingIO Analytics code version 2.1 --> <!-- Copyright 2015-2018 GrowingIO, Inc. More info available at http://www.growingio.com --> <script type='text/javascript'> !function(e,t,n,g,i){e[i]=e[i]||function(){(e[i].q=e[i].q||[]).push(arguments)},n=t.createElement("script"),tag=t.getElementsByTagName("script")[0],n.async=1,n.src=('https:'==document.location.protocol?'https://':'http://')+g,tag.parentNode.insertBefore(n,tag)}(window,document,"script","assets.giocdn.com/2.1/gio.js","gio"); gio('init','8978518af124ae7e', {}); //custom page code begin here //custom page code end here gio('send'); </script> <!-- End GrowingIO Analytics code version: 2.1 --> <!-- GrowingIO Analytics WebJS SDK version 3.8 --> <!-- Copyright 2015-2022 GrowingIO, Inc. More info available at http://www.growingio.com --> <script src="https://assets.giocdn.com/sdk/webjs/cdp/plugins/gioCompress.js"></script> <script type="text/javascript"> !(function (e, n, t, c, i) { (e[i] = e[i] || function () { (e[i].q = e[i].q || []).push(arguments); }), (t = n.createElement('script')); s = n.getElementsByTagName('script')[0]; (t.async = 1), (t.src = c), s.parentNode.insertBefore(t, s); })(window, document, 'script', 'https://assets.giocdn.com/sdk/webjs/cdp/gdp.js', 'gdp'); gdp('registerPlugins', [gioCompress]); gdp('init', '9daf8dfdc099c207', '89704c93632c41b3', { host: 'gio.pingcode.com', scheme: 'https://', version: '1.0.0' }); </script> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Article", "@id": "https://worktile.com/kb/p/3630109", "url": "https://worktile.com/kb/p/3630109", "headline": "vue如何修改网页名称", "image": "https://cdn-kb.worktile.com/kb/wp-content/uploads/2024/11/56f1d45f-8840-4757-acb8-80d35ea8c052.webp", "description": "在Vue.js项目中修改网页的名称非常简单。1、修改public/index.html中的<title>标签;2、动态修改可以使用vue-meta插件。这两种方法可以灵活地满足你在不同场景下的需求。下面将详细说明这两种方法的步骤和具体操作。 一、修改`public/index.html`…", "datePublished": "2024-11-13T04:14:24", "dateModified": "2024-11-13T04:14:28", "author": {"@type":"Person","name":"不及物动词","url":"https://worktile.com/kb/user/2","image":"https://cdn-kb.worktile.com/kb/wp-content/uploads/2024/06/200-200.jpg"} } </script> <script>jQuery(function ($) { setup_share(1); });</script> </body> </html> <!-- Performance optimized by Redis Object Cache. Learn more: https://wprediscache.com --> <!-- Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/ Page Caching using Disk: Enhanced Content Delivery Network via cdn-kb.worktile.com Served from: worktile.com @ 2024-11-13 04:15:34 by W3 Total Cache -->