chore: bump 2.0.0.rc.16

This commit is contained in:
vben 2021-01-12 23:12:05 +08:00
parent cdf0a600e5
commit 3571eb4c47
7 changed files with 21 additions and 13 deletions

View File

@ -27,6 +27,7 @@
- 修复`layout` 收缩展开功能在分割模式下失效 - 修复`layout` 收缩展开功能在分割模式下失效
- 修复 modal 高度计算错误 - 修复 modal 高度计算错误
- 修复文件上传错误 - 修复文件上传错误
- 修复表格已知问题
### 🎫 Chores ### 🎫 Chores

View File

@ -1,6 +1,6 @@
{ {
"name": "vben-admin", "name": "vben-admin",
"version": "2.0.0-rc.15", "version": "2.0.0-rc.16",
"scripts": { "scripts": {
"bootstrap": "yarn install", "bootstrap": "yarn install",
"serve": "vite", "serve": "vite",
@ -18,7 +18,7 @@
"reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap" "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap"
}, },
"dependencies": { "dependencies": {
"@iconify/iconify": "^2.0.0-rc.5", "@iconify/iconify": "^2.0.0-rc.6",
"@vueuse/core": "^4.0.5", "@vueuse/core": "^4.0.5",
"ant-design-vue": "^2.0.0-rc.8", "ant-design-vue": "^2.0.0-rc.8",
"apexcharts": "^3.23.1", "apexcharts": "^3.23.1",
@ -34,7 +34,7 @@
"sortablejs": "^1.13.0", "sortablejs": "^1.13.0",
"vditor": "^3.7.5", "vditor": "^3.7.5",
"vue": "^3.0.5", "vue": "^3.0.5",
"vue-i18n": "^9.0.0-rc.1", "vue-i18n": "^9.0.0-rc.2",
"vue-router": "^4.0.3", "vue-router": "^4.0.3",
"vue-types": "^3.0.1", "vue-types": "^3.0.1",
"vuex": "^4.0.0-rc.2", "vuex": "^4.0.0-rc.2",
@ -45,7 +45,7 @@
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^11.0.0", "@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0", "@commitlint/config-conventional": "^11.0.0",
"@iconify/json": "^1.1.284", "@iconify/json": "^1.1.285",
"@ls-lint/ls-lint": "^1.9.2", "@ls-lint/ls-lint": "^1.9.2",
"@purge-icons/generated": "^0.5.0", "@purge-icons/generated": "^0.5.0",
"@types/echarts": "^4.9.3", "@types/echarts": "^4.9.3",
@ -66,8 +66,8 @@
"@vitejs/plugin-vue": "^1.0.5", "@vitejs/plugin-vue": "^1.0.5",
"@vitejs/plugin-vue-jsx": "^1.0.1", "@vitejs/plugin-vue-jsx": "^1.0.1",
"@vue/compiler-sfc": "^3.0.5", "@vue/compiler-sfc": "^3.0.5",
"@vuedx/typecheck": "^0.4.1", "@vuedx/typecheck": "^0.5.0",
"@vuedx/typescript-plugin-vue": "^0.4.1", "@vuedx/typescript-plugin-vue": "^0.5.0",
"autoprefixer": "^10.2.1", "autoprefixer": "^10.2.1",
"commitizen": "^4.2.2", "commitizen": "^4.2.2",
"conventional-changelog-cli": "^2.1.1", "conventional-changelog-cli": "^2.1.1",
@ -100,7 +100,7 @@
"vite-plugin-html": "^2.0.0-beta.5", "vite-plugin-html": "^2.0.0-beta.5",
"vite-plugin-mock": "^2.0.0-beta.3", "vite-plugin-mock": "^2.0.0-beta.3",
"vite-plugin-purge-icons": "^0.5.0", "vite-plugin-purge-icons": "^0.5.0",
"vite-plugin-pwa": "^0.3.5", "vite-plugin-pwa": "^0.3.6",
"vue-eslint-parser": "^7.3.0", "vue-eslint-parser": "^7.3.0",
"yargs": "^16.2.0" "yargs": "^16.2.0"
}, },

View File

@ -8,7 +8,7 @@
:class="[prefixCls, theme, { 'collapsed-show-title': getCollapsedShowTitle }]" :class="[prefixCls, theme, { 'collapsed-show-title': getCollapsedShowTitle }]"
@click="handleGoHome" @click="handleGoHome"
> >
<img src="/@/assets/images/logo.png" /> <img src="../../../assets/images/logo.png" />
<div class="ml-2 ellipsis" :class="[`${prefixCls}__title`]" v-show="showTitle"> <div class="ml-2 ellipsis" :class="[`${prefixCls}__title`]" v-show="showTitle">
{{ title }} {{ title }}
</div> </div>

View File

@ -8,7 +8,7 @@
> >
<div :class="`${prefixCls}__entry`"> <div :class="`${prefixCls}__entry`">
<div :class="`${prefixCls}__header`"> <div :class="`${prefixCls}__header`">
<img src="/@/assets/images/header.jpg" :class="`${prefixCls}__header-img`" /> <img :src="headerImg" :class="`${prefixCls}__header-img`" />
<p :class="`${prefixCls}__header-name`">{{ getRealName }}</p> <p :class="`${prefixCls}__header-name`">{{ getRealName }}</p>
</div> </div>
@ -31,6 +31,7 @@
import { userStore } from '/@/store/modules/user'; import { userStore } from '/@/store/modules/user';
import { lockStore } from '/@/store/modules/lock'; import { lockStore } from '/@/store/modules/lock';
import headerImg from '/@/assets/images/header.jpg';
export default defineComponent({ export default defineComponent({
name: 'LockModal', name: 'LockModal',
components: { BasicModal, BasicForm }, components: { BasicModal, BasicForm },
@ -75,6 +76,7 @@
register, register,
registerForm, registerForm,
handleLock, handleLock,
headerImg,
}; };
}, },
}); });

View File

@ -1,7 +1,7 @@
<template> <template>
<Dropdown placement="bottomLeft" :overlayClassName="`${prefixCls}-dropdown-overlay`"> <Dropdown placement="bottomLeft" :overlayClassName="`${prefixCls}-dropdown-overlay`">
<span :class="[prefixCls, `${prefixCls}--${theme}`]"> <span :class="[prefixCls, `${prefixCls}--${theme}`]">
<img :class="`${prefixCls}__header`" src="/@/assets/images/header.jpg" /> <img :class="`${prefixCls}__header`" :src="headerImg" />
<span :class="`${prefixCls}__info`"> <span :class="`${prefixCls}__info`">
<span :class="`${prefixCls}__name anticon`">{{ getUserInfo.realName }}</span> <span :class="`${prefixCls}__name anticon`">{{ getUserInfo.realName }}</span>
</span> </span>
@ -47,6 +47,7 @@
import { useDesign } from '/@/hooks/web/useDesign'; import { useDesign } from '/@/hooks/web/useDesign';
import { createAsyncComponent } from '/@/utils/factory/createAsyncComponent'; import { createAsyncComponent } from '/@/utils/factory/createAsyncComponent';
import { propTypes } from '/@/utils/propTypes'; import { propTypes } from '/@/utils/propTypes';
import headerImg from '/@/assets/images/header.jpg';
type MenuEvent = 'loginOut' | 'doc'; type MenuEvent = 'loginOut' | 'doc';
@ -99,6 +100,7 @@
getUserInfo, getUserInfo,
handleMenuClick, handleMenuClick,
getShowDoc, getShowDoc,
headerImg,
}; };
}, },
}); });

View File

@ -6,7 +6,7 @@
<ListItem class="news-list__item"> <ListItem class="news-list__item">
<ListItemMeta> <ListItemMeta>
<template #avatar> <template #avatar>
<img src="/@/assets/images/header.jpg" class="news-list__item-avatar" /> <img :src="headerImg" class="news-list__item-avatar" />
</template> </template>
<template #description> <template #description>
<div class="news-list__item-desc"> <div class="news-list__item-desc">
@ -36,6 +36,7 @@
import { defineComponent } from 'vue'; import { defineComponent } from 'vue';
import { List } from 'ant-design-vue'; import { List } from 'ant-design-vue';
import { CollapseContainer, ScrollContainer } from '/@/components/Container/index'; import { CollapseContainer, ScrollContainer } from '/@/components/Container/index';
import headerImg from '/@/assets/images/header.jpg';
import { newList } from '../data'; import { newList } from '../data';
export default defineComponent({ export default defineComponent({
@ -47,7 +48,7 @@
ScrollContainer, ScrollContainer,
}, },
setup() { setup() {
return { newList }; return { newList, headerImg };
}, },
}); });
</script> </script>

View File

@ -16,7 +16,7 @@
<div :class="`${prefixCls}-entry`" v-show="!showDate"> <div :class="`${prefixCls}-entry`" v-show="!showDate">
<div :class="`${prefixCls}-entry-content`"> <div :class="`${prefixCls}-entry-content`">
<div :class="`${prefixCls}-entry__header`"> <div :class="`${prefixCls}-entry__header`">
<img src="/@/assets/images/header.jpg" :class="`${prefixCls}-entry__header-img`" /> <img :src="headerImg" :class="`${prefixCls}-entry__header-img`" />
<p :class="`${prefixCls}-entry__header-name`">{{ realName }}</p> <p :class="`${prefixCls}-entry__header-name`">{{ realName }}</p>
</div> </div>
<InputPassword :placeholder="t('sys.lock.placeholder')" v-model:value="password" /> <InputPassword :placeholder="t('sys.lock.placeholder')" v-model:value="password" />
@ -70,6 +70,7 @@
import { useDesign } from '/@/hooks/web/useDesign'; import { useDesign } from '/@/hooks/web/useDesign';
import { LockOutlined } from '@ant-design/icons-vue'; import { LockOutlined } from '@ant-design/icons-vue';
import headerImg from '/@/assets/images/header.jpg';
export default defineComponent({ export default defineComponent({
name: 'LockPage', name: 'LockPage',
@ -129,6 +130,7 @@
showDate, showDate,
password: passwordRef, password: passwordRef,
handleShowForm, handleShowForm,
headerImg,
...state, ...state,
}; };
}, },