chore: 更新依赖

This commit is contained in:
h_mo 2023-05-07 15:40:55 +08:00
parent b9157d1f41
commit c93b7b1df0
2 changed files with 35 additions and 33 deletions

View File

@ -38,23 +38,23 @@
},
"dependencies": {
"@alova/adapter-uniapp": "^1.1.1",
"@alova/mock": "^1.2.3",
"@dcloudio/uni-app": "3.0.0-alpha-3080220230428001",
"@dcloudio/uni-app-plus": "3.0.0-alpha-3080220230428001",
"@dcloudio/uni-components": "3.0.0-alpha-3080220230428001",
"@dcloudio/uni-h5": "3.0.0-alpha-3080220230428001",
"@dcloudio/uni-i18n": "3.0.0-alpha-3080220230428001",
"@dcloudio/uni-mp-alipay": "3.0.0-alpha-3080220230428001",
"@dcloudio/uni-mp-baidu": "3.0.0-alpha-3080220230428001",
"@dcloudio/uni-mp-kuaishou": "3.0.0-alpha-3080220230428001",
"@dcloudio/uni-mp-lark": "3.0.0-alpha-3080220230428001",
"@dcloudio/uni-mp-qq": "3.0.0-alpha-3080220230428001",
"@dcloudio/uni-mp-toutiao": "3.0.0-alpha-3080220230428001",
"@dcloudio/uni-mp-weixin": "3.0.0-alpha-3080220230428001",
"@dcloudio/uni-quickapp-webview": "3.0.0-alpha-3080220230428001",
"@alova/mock": "^1.3.0",
"@dcloudio/uni-app": "3.0.0-alpha-3080220230428002",
"@dcloudio/uni-app-plus": "3.0.0-alpha-3080220230428002",
"@dcloudio/uni-components": "3.0.0-alpha-3080220230428002",
"@dcloudio/uni-h5": "3.0.0-alpha-3080220230428002",
"@dcloudio/uni-i18n": "3.0.0-alpha-3080220230428002",
"@dcloudio/uni-mp-alipay": "3.0.0-alpha-3080220230428002",
"@dcloudio/uni-mp-baidu": "3.0.0-alpha-3080220230428002",
"@dcloudio/uni-mp-kuaishou": "3.0.0-alpha-3080220230428002",
"@dcloudio/uni-mp-lark": "3.0.0-alpha-3080220230428002",
"@dcloudio/uni-mp-qq": "3.0.0-alpha-3080220230428002",
"@dcloudio/uni-mp-toutiao": "3.0.0-alpha-3080220230428002",
"@dcloudio/uni-mp-weixin": "3.0.0-alpha-3080220230428002",
"@dcloudio/uni-quickapp-webview": "3.0.0-alpha-3080220230428002",
"@fortawesome/fontawesome-free": "^6.4.0",
"@iconify/iconify": "^3.1.0",
"alova": "^2.2.0",
"alova": "^2.3.0",
"crypto-js": "^4.1.1",
"echarts": "^5.4.2",
"lodash-es": "^4.17.21",
@ -62,34 +62,33 @@
"vue": "^3.2.47"
},
"devDependencies": {
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"@dcloudio/types": "^3.2.11",
"@dcloudio/uni-automator": "3.0.0-alpha-3080220230428001",
"@dcloudio/uni-cli-shared": "3.0.0-alpha-3080220230428001",
"@dcloudio/uni-stacktracey": "3.0.0-alpha-3080220230428001",
"@dcloudio/vite-plugin-uni": "3.0.0-alpha-3080220230428001",
"@iconify/json": "^2.2.56",
"@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.6.3",
"@dcloudio/types": "^3.3.3",
"@dcloudio/uni-automator": "3.0.0-alpha-3080220230428002",
"@dcloudio/uni-cli-shared": "3.0.0-alpha-3080220230428002",
"@dcloudio/uni-stacktracey": "3.0.0-alpha-3080220230428002",
"@dcloudio/vite-plugin-uni": "3.0.0-alpha-3080220230428002",
"@iconify/json": "^2.2.61",
"@types/crypto-js": "^4.1.1",
"@types/lodash-es": "^4.17.7",
"@types/node": "^17.0.45",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"@unocss/preset-icons": "^0.46.5",
"autoprefixer": "^10.4.14",
"eslint": "^8.39.0",
"eslint": "^8.40.0",
"eslint-plugin-vue": "^9.11.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.1",
"lint-staged": "^13.2.2",
"postcss": "^8.4.23",
"prettier": "^2.8.8",
"sass": "^1.62.1",
"typescript": "^5.0.4",
"uni-mini-router": "^0.0.9",
"uni-read-pages-vite": "^0.0.6",
"unocss": "^0.46.5",
"unocss-preset-weapp": "^0.2.5",
"vite": "^4.3.2",
"vite-plugin-mkcert": "^1.14.0"
"unocss": "^0.51.12",
"unocss-preset-weapp": "^0.6.1",
"vite": "^4.3.5"
}
}

View File

@ -1,11 +1,14 @@
<script lang="ts" setup>
import { ref } from 'vue';
import { onShow } from '@dcloudio/uni-app';
import { onLoad, onShow } from '@dcloudio/uni-app';
import BasicButton from '@/components/BasicButton/index.vue';
import AppProvider from '@/components/AppProvider/inedx.vue';
import { useAuthStore } from '@/state/modules/auth';
import { useRouter } from 'uni-mini-router';
onLoad(() => {
console.log('about load');
});
const authStore = useAuthStore();
const isLogin = ref(false);
const router = useRouter();
@ -33,7 +36,7 @@ const handleLoginOut = () => {
</view>
<view class="desc">{{ isLogin ? '测试' : '未登入' }}</view>
</view>
<view class="cell"><BasicButton @click="handleJump('/pages/log/index?id=4345&title=log&word=困的顾客老师')">log</BasicButton></view>
<view class="cell"><BasicButton @click="handleJump('/pages/log/index?id=4345&title=log&word=关键词')">log</BasicButton></view>
<view class="cell" v-if="isLogin"><BasicButton @click="handleLoginOut">登出</BasicButton></view>
<view class="cell" v-else>
<BasicButton @click="handleJump('/pages/login/index')"> 登入 </BasicButton>