Kaynağa Gözat

Merge branch 'dev' into dev_YWQ

dev_YWQ
HolyKnightIX 2 yıl önce
ebeveyn
işleme
4d9580008c
4 değiştirilmiş dosya ile 7 ekleme ve 11 silme
  1. +1
    -7
      package.json
  2. +2
    -1
      src/layout/components/Navbar.vue
  3. +2
    -1
      src/views/createVideo/index.vue
  4. +2
    -2
      src/views/myAccount/index.vue

+ 1
- 7
package.json Dosyayı Görüntüle

@@ -6,13 +6,7 @@
"scripts": {
"dev": "vite serve --mode development",
"build:dev": "vite build --mode development &&vue-tsc --noEmit",
"build:prod": "vite build --mode production &&vue-tsc --noEmit",
"prepare": "husky install",
"lint:eslint": "eslint --fix --ext .ts,.js,.vue ./src ",
"lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,tsx,css,less,scss,vue,html,md}\"",
"lint:stylelint": "stylelint \"**/*.{css,scss,vue}\" --fix",
"lint:lint-staged": "lint-staged",
"commit": "git-cz"
"build:prod": "vite build --mode production &&vue-tsc --noEmit"
},
"config": {
"commitizen": {


+ 2
- 1
src/layout/components/Navbar.vue Dosyayı Görüntüle

@@ -80,11 +80,12 @@ import { useAppStore } from "@/store/modules/app";
import { useTagsViewStore } from "@/store/modules/tagsView";
import { useUserStore } from "@/store/modules/user";
import { useI18n } from "vue-i18n";
import LangSelect from "@/components/LangSelect/index.vue";

const { locale } = useI18n();

// 当前语言状态与国际化组件
const lanChange = ref(locale);
import LangSelect from "@/components/LangSelect/index.vue";

const appStore = useAppStore();
const tagsViewStore = useTagsViewStore();


+ 2
- 1
src/views/createVideo/index.vue Dosyayı Görüntüle

@@ -141,6 +141,7 @@
</template>
<script setup>
import { ref } from "vue";
import { getCurrentInstance } from "vue";
// 标题
let title = ref("");
// 上传图片
@@ -150,7 +151,7 @@ function changeFile(e) {
}

// $t在script中的使用
import { getCurrentInstance } from "vue";
const {
appContext: {
config: { globalProperties },


+ 2
- 2
src/views/myAccount/index.vue Dosyayı Görüntüle

@@ -95,11 +95,11 @@

<script setup>
import { useI18n } from "vue-i18n";
import { useRouter } from "vue-router";
const { locale } = useI18n();

const currentLan = ref(locale);

import { useRouter } from "vue-router";
const router = useRouter();
function routerTo(url) {
router.push(url);
@@ -147,7 +147,7 @@ function routerTo(url) {

.password {
display: inline-block;
float: right;
// float: right;
padding: 2px 8px;
border: 1px solid #000;
border-radius: 5px;


Yükleniyor…
İptal
Kaydet