zhontai 2 سال پیش
والد
کامیت
3243bc2735

+ 0 - 1
src/components/editor/index.vue

@@ -76,7 +76,6 @@ onBeforeUnmount(() => {
   editor.destroy()
 })
 // 监听是否禁用改变
-// https://gitee.com/lyt-top/vue-next-admin/issues/I4LM7I
 watch(
   () => props.disable,
   (bool) => {

+ 0 - 2
src/components/svgIcon/index.vue

@@ -29,7 +29,6 @@ const props = defineProps({
 })
 
 // 在线链接、本地引入地址前缀
-// https://gitee.com/lyt-top/vue-next-admin/issues/I62OVL
 const linesString = ['https', 'http', '/src', '/assets', 'data:image', import.meta.env.VITE_PUBLIC_PATH]
 
 // 获取 icon 图标名称
@@ -53,7 +52,6 @@ const setIconImgOutStyle = computed(() => {
   return `width: ${props.size}px;height: ${props.size}px;line-height: ${props.size}px;display: inline-block;overflow: hidden;`
 })
 // 设置图片样式
-// https://gitee.com/lyt-top/vue-next-admin/issues/I59ND0
 const setIconSvgInsStyle = computed(() => {
   const filterStyle: string[] = []
   const compatibles: string[] = ['-webkit', '-ms', '-o', '-moz']

+ 1 - 1
src/layout/navBars/breadcrumb/user.vue

@@ -170,7 +170,7 @@ const onHandleCommandClick = (path: string) => {
       })
       .catch(() => {})
   } else if (path === 'wareHouse') {
-    window.open('https://gitee.com/lyt-top/vue-next-admin')
+    window.open('https://gitee.com/zhontai/admin.ui.plus')
   } else {
     router.push(path)
   }

+ 1 - 1
src/layout/navBars/breadcrumb/userNews.vue

@@ -34,7 +34,7 @@ const onAllReadClick = () => {
 }
 // 前往通知中心点击
 const onGoToGiteeClick = () => {
-  window.open('https://gitee.com/lyt-top/vue-next-admin')
+  window.open('https://gitee.com/zhontai/admin.ui.plus')
 }
 </script>
 

+ 2 - 7
src/layout/navBars/tagsView/tagsView.vue

@@ -111,7 +111,6 @@ const isActive = (v: RouteItem) => {
       return v.url ? v.url === state.routeActive : v.path === state.routeActive
     } else {
       // 通过 name 传参,params 取值,刷新页面参数消失
-      // https://gitee.com/lyt-top/vue-next-admin/issues/I51RS9
       return v.path === state.routePath
     }
   }
@@ -190,7 +189,6 @@ const singleAddTagsView = (path: string, to?: RouteToFrom) => {
 const addTagsView = (path: string, to?: RouteToFrom) => {
   // 防止拿取不到路由信息
   nextTick(async () => {
-    // 修复:https://gitee.com/lyt-top/vue-next-admin/issues/I3YX6G
     let item: RouteItem
     if (to?.meta?.isDynamic) {
       // 动态路由(xxx/:id/:name"):参数不同,开启多个 tagsview
@@ -316,7 +314,6 @@ const openCurrenFullscreen = async (path: string) => {
 }
 // 当前项右键菜单点击,拿 `当前点击的路由路径` 对比 `tagsView 路由数组`,取当前点击项的详细路由信息
 // 防止 tagsView 非当前页演示时,操作异常
-// https://gitee.com/lyt-top/vue-next-admin/issues/I61VS9
 const getCurrentRouteItem = (item: RouteItem): any => {
   let resItem: RouteToFrom = {}
   state.tagsViewList.forEach((v: RouteItem) => {
@@ -384,8 +381,6 @@ const onTagsClick = (v: RouteItem, k: number) => {
   router.push(v)
 }
 // 处理 url,地址栏链接有参数时,tagsview 右键菜单刷新功能失效问题,感谢 @ZzZz-RIPPER、@dejavuuuuu
-// https://gitee.com/lyt-top/vue-next-admin/issues/I5K3YO
-// https://gitee.com/lyt-top/vue-next-admin/issues/I61VS9
 const transUrlParams = (v: RouteItem) => {
   let params = v.query && Object.keys(v.query).length > 0 ? v.query : v.params
   if (!params) return ''
@@ -513,7 +508,7 @@ const initSortable = async () => {
     },
   })
 }
-// 拖动问题,https://gitee.com/lyt-top/vue-next-admin/issues/I3ZRRI
+// 拖动问题
 const onSortableResize = async () => {
   await initSortable()
   if (other.isMobile()) state.sortable.el && state.sortable.destroy()
@@ -522,7 +517,7 @@ const onSortableResize = async () => {
 onBeforeMount(() => {
   // 初始化,防止手机端直接访问时还可以拖拽
   onSortableResize()
-  // 拖动问题,https://gitee.com/lyt-top/vue-next-admin/issues/I3ZRRI
+  // 拖动问题
   window.addEventListener('resize', onSortableResize)
   // 监听非本页面调用 0 刷新当前,1 关闭当前,2 关闭其它,3 关闭全部 4 当前页全屏
   mittBus.on('onCurrentContextmenuClick', (data: RouteItem) => {

+ 0 - 1
src/layout/navMenu/horizontal.vue

@@ -128,7 +128,6 @@ onMounted(() => {
 })
 // 路由更新时
 onBeforeRouteUpdate((to) => {
-  // 修复:https://gitee.com/lyt-top/vue-next-admin/issues/I3YX6G
   setCurrentRouterHighlight(to)
   // 修复经典布局开启切割菜单时,点击tagsView后左侧导航菜单数据不变的问题
   let { layout, isClassicSplitMenu } = themeConfig.value

+ 0 - 2
src/layout/navMenu/vertical.vue

@@ -54,7 +54,6 @@ const storesThemeConfig = useThemeConfig()
 const { themeConfig } = storeToRefs(storesThemeConfig)
 const route = useRoute()
 const state = reactive({
-  // 修复:https://gitee.com/lyt-top/vue-next-admin/issues/I3YX6G
   defaultActive: route.meta.isDynamic ? route.meta.isDynamicPath : route.path,
   isCollapse: false,
 })
@@ -84,7 +83,6 @@ onMounted(() => {
 })
 // 路由更新时
 onBeforeRouteUpdate((to) => {
-  // 修复:https://gitee.com/lyt-top/vue-next-admin/issues/I3YX6G
   state.defaultActive = setParentHighlight(to)
   const clientWidth = document.body.clientWidth
   if (clientWidth < 1000) themeConfig.value.isCollapse = false

+ 0 - 4
src/layout/routerView/parent.vue

@@ -78,9 +78,6 @@ onBeforeMount(() => {
 // 页面加载时
 onMounted(() => {
   getIframeListRoutes()
-  // https://gitee.com/lyt-top/vue-next-admin/issues/I58U75
-  // https://gitee.com/lyt-top/vue-next-admin/issues/I59RXK
-  // https://gitee.com/lyt-top/vue-next-admin/pulls/40
   nextTick(() => {
     setTimeout(() => {
       if (themeConfig.value.isCacheTagsView) {
@@ -95,7 +92,6 @@ onUnmounted(() => {
   mittBus.off('onTagsViewRefreshRouterView', () => {})
 })
 // 监听路由变化,防止 tagsView 多标签时,切换动画消失
-// https://toscode.gitee.com/lyt-top/vue-next-admin/pulls/38/files
 watch(
   () => route.fullPath,
   () => {

+ 0 - 1
src/router/backEnd.ts

@@ -41,7 +41,6 @@ export async function initBackEndControlRoutes() {
   // 无 token 停止执行下一步
   if (!getToken()) return false
   // 触发初始化用户信息 pinia
-  // https://gitee.com/lyt-top/vue-next-admin/issues/I5F1HP
   await useUserInfo().setUserInfos()
   // 获取路由菜单数据
   const menus = await getBackEndControlRoutes()

+ 0 - 2
src/router/frontEnd.ts

@@ -24,10 +24,8 @@ export async function initFrontEndControlRoutes() {
   // 无 token 停止执行下一步
   if (!getToken()) return false
   // 触发初始化用户信息 pinia
-  // https://gitee.com/lyt-top/vue-next-admin/issues/I5F1HP
   await useUserInfo(pinia).setUserInfos()
   // 无登录权限时,添加判断
-  // https://gitee.com/lyt-top/vue-next-admin/issues/I64HVO
   if (useUserInfo().userInfos.roles.length <= 0) return Promise.resolve(true)
   // 添加动态路由
   await setAddRoute()

+ 0 - 2
src/router/index.ts

@@ -75,7 +75,6 @@ export function formatTwoStageRoutes(arr: any) {
       newArr.push({ component: v.component, name: v.name, path: v.path, redirect: v.redirect, meta: v.meta, children: [] })
     } else {
       // 判断是否是动态路由(xx/:id/:name),用于 tagsView 等中使用
-      // 修复:https://gitee.com/lyt-top/vue-next-admin/issues/I3YX6G
       if (v.path?.indexOf('/:') > -1) {
         v.meta['isDynamic'] = true
         v.meta['isDynamicPath'] = v.path
@@ -128,7 +127,6 @@ router.beforeEach(async (to, from, next) => {
           // to.query 防止页面刷新时,普通路由带参数时,参数丢失。动态路由(xxx/:id/:name")isDynamic 无需处理
           next({ path: to.path, query: to.query })
         } else {
-          // https://gitee.com/lyt-top/vue-next-admin/issues/I5F1HP
           await initFrontEndControlRoutes()
           next({ path: to.path, query: to.query })
         }

+ 0 - 1
src/stores/themeConfig.ts

@@ -2,7 +2,6 @@ import { defineStore } from 'pinia'
 
 /**
  * 布局配置
- * 修复:https://gitee.com/lyt-top/vue-next-admin/issues/I567R1,感谢@lanbao123
  * 2020.05.28 by lyt 优化。开发时配置不生效问题
  * 修改配置时:
  * 1、需要每次都清理 `window.localStorage` 浏览器永久缓存

+ 0 - 1
src/stores/userInfo.ts

@@ -35,7 +35,6 @@ export const useUserInfo = defineStore('userInfo', {
       this.userInfos.photo = photo
     },
     // 模拟接口数据
-    // https://gitee.com/lyt-top/vue-next-admin/issues/I5F1HP
     async getApiUserInfo() {
       return new Promise((resolve, reject) => {
         new AuthApi()

+ 0 - 1
src/theme/element.scss

@@ -41,7 +41,6 @@
       margin-bottom: 18px !important;
     }
   }
-  // https://gitee.com/lyt-top/vue-next-admin/issues/I5K1PM
   .el-form-item .el-form-item__label .el-icon {
     margin-right: 0px;
   }

+ 0 - 1
src/views/error/401.vue

@@ -27,7 +27,6 @@ import { Session, Local } from '/@/utils/storage'
 import { adminTokenKey } from '/@/api/admin/http-client'
 
 const onSetAuth = () => {
-  // https://gitee.com/lyt-top/vue-next-admin/issues/I5C3JS
   // 清除缓存/token等
   Local.remove(adminTokenKey)
   Session.clear()

+ 1 - 1
src/views/example/fun/clipboard/index.vue

@@ -24,7 +24,7 @@ import commonFunction from '/@/utils/commonFunction'
 // 定义变量内容
 const { copyText } = commonFunction()
 const state = reactive({
-  copyVal: 'https://gitee.com/lyt-top/vue-next-admin',
+  copyVal: 'https://gitee.com/zhontai/admin.ui.plus',
   shearVal: '',
 })
 </script>

+ 1 - 1
src/views/example/fun/qrcode/index.vue

@@ -32,7 +32,7 @@ const qrcodeRef = ref()
 // 初始化生成二维码
 const initQrcode = () => {
   new QRCode(qrcodeRef.value, {
-    text: `https://lyt-top.gitee.io/vue-next-admin-preview/#/login?t=${new Date().getTime()}`,
+    text: `https://admin.zhontai.net/login?t=${new Date().getTime()}`,
     width: 125,
     height: 125,
     colorDark: '#000000',

+ 5 - 5
src/views/example/make/noticeBar/index.vue

@@ -3,14 +3,14 @@
     <el-card shadow="hover" header="滚动通知栏:默认">
       <NoticeBar
         text="🎉🎉🔥基于vue3.x 、Typescript、vite、Element plus等,适配手机、平板、pc
-				的后台开源免费模板库(vue2.x请切换vue-prev-admin分支),仓库地址:https://gitee.com/lyt-top/vue-next-admin"
+				的后台开源免费模板库(vue2.x请切换Admin.UI仓库),仓库地址:https://gitee.com/zhontai/Admin.UI"
       />
     </el-card>
 
     <el-card shadow="hover" header="滚动通知栏:设置样式" class="mt15">
       <NoticeBar
         text="🎉🎉🔥基于vue3.x 、Typescript、vite、Element plus等,适配手机、平板、pc
-				的后台开源免费模板库(vue2.x请切换vue-prev-admin分支),仓库地址:https://gitee.com/lyt-top/vue-next-admin"
+				的后台开源免费模板库(vue2.x请切换Admin.UI分支),仓库地址:https://gitee.com/zhontai/Admin.UI"
         leftIcon="iconfont icon-tongzhi2"
         rightIcon="ele-ArrowRight"
         background="#ecf5ff"
@@ -57,9 +57,9 @@ const NoticeBar = defineAsyncComponent(() => import('/@/components/noticeBar/ind
 const state = reactive({
   noticeList: [
     '🎉🎉🔥基于vue3.x 、Typescript、vite、Element plus等',
-    '适配手机、平板、pc的后台开源免费模板库(vue2.x请切换vue-prev-admin分支)',
-    '仓库地址:https://gitee.com/lyt-top/vue-next-admin',
-    '演示地址:https://lyt-top.gitee.io/vue-next-admin-preview/#/login',
+    '适配手机、平板、pc的后台开源免费模板库(vue2.x请切换Admin.UI仓库)',
+    '仓库地址:https://gitee.com/zhontai/Admin.UI',
+    '演示地址:https://admin.zhontai.net/login',
   ],
   tableData: [
     {

+ 0 - 4
src/views/example/params/common/index.vue

@@ -12,10 +12,6 @@
                 <br />
                 <div>3、设置国际化后,去顶栏切换语言查看演示效果</div>
                 <br />
-                <div>
-                  4、 <a href="https://gitee.com/q7but" target="_black">感谢@q7but</a>、
-                  <a href="https://gitee.com/lyt-top/vue-next-admin/pulls/22/files" target="_black">!22 add 添加自定义 tagVIewName 拓展,支持国际化</a>
-                </div>
               </template>
             </el-alert>
             <el-input v-model="state.tagsViewName" placeholder="请输入tagsView 名称" clearable class="mb15" style="width: 400px"></el-input>

+ 0 - 4
src/views/example/params/dynamic/index.vue

@@ -12,10 +12,6 @@
                 <br />
                 <div>3、设置国际化后,去顶栏切换语言查看演示效果</div>
                 <br />
-                <div>
-                  4、 <a href="https://gitee.com/q7but" target="_black">感谢@q7but</a>、
-                  <a href="https://gitee.com/lyt-top/vue-next-admin/pulls/22/files" target="_black">!22 add 添加自定义 tagVIewName 拓展,支持国际化</a>
-                </div>
               </template>
             </el-alert>
             <el-input v-model="state.tagsViewName" placeholder="请输入tagsView 名称" clearable class="mb15" style="width: 400px"></el-input>