mirror of
https://gitee.com/log4j/pig-ui.git
synced 2024-12-22 12:58:55 +08:00
fix: update crudDemo jsonData
This commit is contained in:
parent
8642e413aa
commit
8883e075cf
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@ yarn-debug.log*
|
||||
yarn-error.log*
|
||||
package-lock.json
|
||||
.idea/
|
||||
config/index.js
|
||||
|
@ -3,10 +3,8 @@ export const tableData = [{
|
||||
name: "lengleng",
|
||||
number: 12,
|
||||
type: '0',
|
||||
stars: {
|
||||
address: 'https://gitee.com/log4j/pig/badge/star.svg?theme=white',
|
||||
git: 'https://gitee.com/smallweigit/avue',
|
||||
},
|
||||
stars: 'https://gitee.com/log4j/pig/badge/star.svg?theme=white',
|
||||
git: 'https://gitee.com/log4j/pig',
|
||||
address: "https://gitee.com/log4j",
|
||||
info: 'Pig是基于Spring Cloud、OAuth2.0,使用Vue前后分离的开发平台,支持账号、 短信、 SSO等多种登录。 ',
|
||||
},
|
||||
@ -15,10 +13,8 @@ export const tableData = [{
|
||||
name: "smallwei",
|
||||
number: 20,
|
||||
type: '1',
|
||||
stars: {
|
||||
address: 'https://gitee.com/smallweigit/avue/badge/star.svg?theme=white',
|
||||
git: 'https://gitee.com/log4j/pig',
|
||||
},
|
||||
stars: 'https://gitee.com/smallweigit/avue/badge/star.svg?theme=white',
|
||||
git: 'https://gitee.com/smallweigit/avue',
|
||||
address: "https://gitee.com/smallweigit",
|
||||
info: 'Avue是一个后台集成解决方案,它基于 Vue.js 和 element。 使用了最新的前端技术栈,支持权限验证,第三方网站嵌套等功能。',
|
||||
}
|
||||
|
@ -44,8 +44,6 @@ export const tableOption = {
|
||||
"prop": "stars",
|
||||
"sortable": true,
|
||||
"solt": true,
|
||||
"addVisdiplay": false,
|
||||
"editVisdiplay": false
|
||||
},
|
||||
{
|
||||
"label": "码云",
|
||||
|
@ -14,9 +14,12 @@
|
||||
<el-form-item label="地址">
|
||||
<a :href="props.row.address" target="_blank">{{props.row.address}}</a>
|
||||
</el-form-item>
|
||||
<el-form-item label="项目地址">
|
||||
<a :href="props.row.git" target="_blank">{{props.row.git}}</a>
|
||||
</el-form-item>
|
||||
<el-form-item label="stars">
|
||||
<a :href='props.row.stars.git' target="_blank">
|
||||
<img :src="props.row.stars.address" alt='star' />
|
||||
<a :href='props.row.address' target="_blank">
|
||||
<img :src="props.row.stars" alt='star' />
|
||||
</a>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
@ -25,12 +28,12 @@
|
||||
<el-tag>{{scope.row.username}}</el-tag>
|
||||
</template>
|
||||
<template slot-scope="scope" slot="stars">
|
||||
<a :href='scope.row.stars.git' target="_blank">
|
||||
<img :src="scope.row.stars.address" alt='star' />
|
||||
<a :href='scope.row.git' target="_blank">
|
||||
<img :src="scope.row.stars" alt='star' />
|
||||
</a>
|
||||
</template>
|
||||
<template slot-scope="scope" slot="address">
|
||||
<a :href="scope.row.address" target="_blank">{{scope.row.address}}</a>
|
||||
<a :href="scope.row.git" target="_blank">{{scope.row.address}}</a>
|
||||
</template>
|
||||
</avue-crud>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user