From 215192d1d5f9229487d47c1a8318f61267fdd66e Mon Sep 17 00:00:00 2001
From: Min5203 <2318556978@qq.com>
Date: Mon, 10 Jan 2022 09:10:44 +0800
Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=93=8D=E5=BA=94=E5=BC=8F?=
=?UTF-8?q?=E8=A1=A5=E5=85=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/navbar.vue | 13 +++++++++----
src/views/index-list/plugin-shop.vue | 4 ++--
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/src/components/navbar.vue b/src/components/navbar.vue
index 2a16add..3ec945c 100644
--- a/src/components/navbar.vue
+++ b/src/components/navbar.vue
@@ -2,10 +2,10 @@
@@ -40,6 +40,10 @@ const router = useRouter();
// const menu = computed(() => store.state.menu);
const account = computed(() => store.getters['user/account']);
const activeIndex = ref('1');
+const pluginShop = ref('插件商城');
+const develop = ref('开发教程');
+const downloadMould = ref('下载模板');
+const upload = ref('上传插件');
// 打开修改密码的页面
function openChangePassword() {
@@ -52,6 +56,7 @@ function signOut() {
router.push({ name: 'signin' });
}
+// 点击跳转路由
function toShop() {
router.push({ name: 'plugin-shop' });
}
diff --git a/src/views/index-list/plugin-shop.vue b/src/views/index-list/plugin-shop.vue
index d071757..7a6d829 100644
--- a/src/views/index-list/plugin-shop.vue
+++ b/src/views/index-list/plugin-shop.vue
@@ -1,6 +1,6 @@
-
+
@@ -52,7 +52,7 @@ import { ref } from 'vue';
import { ElConfigProvider } from 'element-plus';
import zhCn from 'element-plus/lib/locale/lang/zh-cn';
-const keyword = ref('');
+const keywords = ref('');
const industry = ref('');
const sort = ref('');
const pluginName = ref('插件名称');