chengziding 3 weeks ago
parent
commit
65b469657c
3 changed files with 10 additions and 10 deletions
  1. 6 6
      pages/mine/updatePwd.vue
  2. 3 3
      pages/mine/modules/user-info.vue
  3. 1 1
      pages/news-categories/index.vue

+ 6 - 6
pages/mine/updatePwd.vue

@@ -20,12 +20,12 @@
 <script lang="ts" setup>
 import { ref, reactive, onMounted } from "vue";
 import {
-  NForm,
-  NFormItem,
-  NInput,
-  NButton,
-  FormRules,
-  FormItemRule,
+  // NForm,
+  // NFormItem,
+  // NInput,
+  // NButton,
+  // FormRules,
+  // FormItemRule,
   createDiscreteApi,
 } from "naive-ui";
 import { useRouter, useRoute } from "vue-router";

+ 3 - 3
pages/mine/modules/user-info.vue

@@ -62,7 +62,7 @@ const props = defineProps({
 
 const user = ref({});
 const editVisible = ref(false);
-const editTitle = ref(t('myInfo.modify'));
+const editTitle = ref(t("myInfo.modify"));
 const editType = ref("password");
 
 const getUser = async () => {
@@ -76,9 +76,9 @@ const handleEdit = (type: string) => {
   editType.value = type;
   editVisible.value = true;
   if (type == "password") {
-    editTitle.value = t('myInfo.password');
+    editTitle.value = t("myInfo.password");
   } else {
-    editTitle.value = t('reportPop.title');
+    editTitle.value = t("reportPop.title");
   }
 };
 

+ 1 - 1
pages/news-categories/index.vue

@@ -191,7 +191,7 @@ async function getData() {
   params.value.lang = lang;
   const ret = await marketInfoPageList(params.value);
   setTimeout(() => {
-    pageList.value = ret.data;
+    pageList.value = ret;
     spinShow.value = "none";
   }, 500);
 }