Skip to content

Commit 7021604

Browse files
authored
Merge pull request #366 from personball/master
fix errors in vue template when run yarn serve
2 parents 7fd91ac + f216ddb commit 7021604

File tree

7 files changed

+64
-9
lines changed

7 files changed

+64
-9
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Localization/SourceFiles/AbpProjectName-zh-Hans.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,21 @@
6161
<text name="PasswordRequireNonAlphanumeric">密码至少需要包含一个特殊字符(非字母或数字的字符).</text>
6262
<text name="PasswordRequireUppercase">密码至少需要一位是A到Z的大写字母.</text>
6363
<text name="PasswordTooShort">密码长度太短</text>
64+
65+
<text name="UserName">用户名</text>
66+
<text name="Name">名称</text>
67+
<text name="IsActive">是否启用</text>
68+
<text name="LastLoginTime">最近登陆时间</text>
69+
<text name="RoleName">角色名</text>
70+
<text name="DisplayName">显示名</text>
71+
<text name="Description">描述</text>
72+
<text name="IsStatic">是否内置</text>
73+
74+
<text name="All">全部</text>
75+
<text name="Actived">启用</text>
76+
<text name="NoActive">未启用</text>
77+
78+
<text name="Yes">是</text>
79+
<text name="No">否</text>
6480
</texts>
6581
</localizationDictionary>

vue/README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# ASP.NET Boilerplate VueJS Template
2+
3+
The Vue.js integration for ABP Boilerplate framework. This template is built on Vue+iview+Typescript.
4+
5+
![](_screenshots/roles.png)
6+
7+
## Getting Started
8+
9+
### Installing
10+
11+
12+
```sh
13+
cd vue
14+
yarn install
15+
```
16+
17+
And then start
18+
19+
```
20+
yarn serve
21+
```
22+
23+
## Deployment
24+
25+
```sh
26+
yarn build
27+
```
28+
29+
## Built With
30+
31+
* [Vue](https://vuejs.org/) - The Progressive JavaScript Framework
32+
* [Typescript](https://www.typescriptlang.org/) - Used for static typing
33+
* [Vuex](https://vuex.vuejs.org/) - Vuex is a state management pattern + library for Vue.js applications.
34+
* [iView](https://www.iviewui.com/) - A High quality and rich functions, friendly APIs, free and flexible UI Toolkit based on Vue.js.
35+

vue/_screenshots/roles.png

106 KB
Loading

vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"abp-web-resources": "^3.8.2",
1212
"axios": "^0.18.0",
1313
"famfamfam-flags": "^1.0.0",
14-
"iview": "^3.0.0",
14+
"iview": "~3.0.0",
1515
"js-cookie": "^2.2.0",
1616
"register-service-worker": "^1.0.0",
1717
"vue": "^2.5.17",

vue/src/views/setting/role/role.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
},{
108108
title:this.L('IsStatic'),
109109
render:(h:any,params:any)=>{
110-
return h('span',params.row.isStatic?'':'')
110+
return h('span',params.row.isStatic?this.L('Yes'):this.L('No'))
111111
}
112112
},{
113113
title:this.L('Actions'),

vue/src/views/setting/tenant/tenant.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</FormItem>
1111
</Col>
1212
<Col span="8">
13-
<FormItem :label="L('TenantName')+':'" style="width:100%">
13+
<FormItem :label="L('Name')+':'" style="width:100%">
1414
<Input v-model="filters[0].Value"></Input>
1515
</FormItem>
1616
</Col>
@@ -112,7 +112,7 @@
112112
title:this.L('TenancyName'),
113113
key:'tenancyName'
114114
},{
115-
title:this.L('TenantName'),
115+
title:this.L('Name'),
116116
key:'name'
117117
},{
118118
title:this.L('IsActive'),

vue/yarn.lock

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3706,9 +3706,9 @@ isstream@~0.1.2:
37063706
version "0.1.2"
37073707
resolved "http://registry.npm.taobao.org/isstream/download/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a"
37083708

3709-
iview@^3.0.0:
3710-
version "3.1.3"
3711-
resolved "https://registry.yarnpkg.com/iview/-/iview-3.1.3.tgz#c99ca1d5dad48fb4df17d75b95554d16bd05ab77"
3709+
iview@~3.0.0:
3710+
version "3.0.1"
3711+
resolved "http://registry.npm.taobao.org/iview/download/iview-3.0.1.tgz#705128658d102ff4f85b0015e49477c23b1967bf"
37123712
dependencies:
37133713
async-validator "^1.8.2"
37143714
deepmerge "^2.1.0"
@@ -6612,10 +6612,14 @@ [email protected]:
66126612
dependencies:
66136613
indexof "0.0.1"
66146614

6615-
vue-class-component@^6.0.0, vue-class-component@^6.2.0:
6615+
vue-class-component@^6.0.0:
66166616
version "6.2.0"
66176617
resolved "http://registry.npm.taobao.org/vue-class-component/download/vue-class-component-6.2.0.tgz#7adb1daa9a868c75f30f97f33f4f1b94aee62089"
66186618

6619+
vue-class-component@^6.2.0:
6620+
version "6.3.2"
6621+
resolved "http://registry.npm.taobao.org/vue-class-component/download/vue-class-component-6.3.2.tgz#e6037e84d1df2af3bde4f455e50ca1b9eec02be6"
6622+
66196623
vue-hot-reload-api@^2.3.0:
66206624
version "2.3.1"
66216625
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.1.tgz#b2d3d95402a811602380783ea4f566eb875569a2"
@@ -6632,7 +6636,7 @@ vue-loader@^15.4.2:
66326636

66336637
vue-property-decorator@^7.0.0:
66346638
version "7.2.0"
6635-
resolved "https://registry.yarnpkg.com/vue-property-decorator/-/vue-property-decorator-7.2.0.tgz#8e6b0f4dcc630c357135f76366ba7bd91f1db015"
6639+
resolved "http://registry.npm.taobao.org/vue-property-decorator/download/vue-property-decorator-7.2.0.tgz#8e6b0f4dcc630c357135f76366ba7bd91f1db015"
66366640
dependencies:
66376641
vue-class-component "^6.2.0"
66386642

0 commit comments

Comments
 (0)