fix: 修复pc模板依赖问题

This commit is contained in:
harrywan 2021-07-01 09:36:34 +08:00
parent b767eeab4f
commit 0c0bc8a05b
2 changed files with 9 additions and 3 deletions

View File

@ -51,8 +51,8 @@
"@fesjs/plugin-layout": "^2.0.0", "@fesjs/plugin-layout": "^2.0.0",
"@fesjs/plugin-model": "^2.0.0", "@fesjs/plugin-model": "^2.0.0",
"@fesjs/plugin-enums": "^2.0.0", "@fesjs/plugin-enums": "^2.0.0",
"ant-design-vue": "^2.0.0", "ant-design-vue": "^2.2.0",
"vue": "^3.0.5" "vue": "^3.1.0"
}, },
"private": true "private": true
} }

View File

@ -1,5 +1,5 @@
<template> <template>
<div>{{initialState.userName}}</div> <div class="right">{{initialState.userName}}</div>
</template> </template>
<script> <script>
import { useModel } from '@fesjs/fes'; import { useModel } from '@fesjs/fes';
@ -13,3 +13,9 @@ export default {
} }
}; };
</script> </script>
<style scope>
.right {
text-align: right;
padding: 0 20px;
}
</style>