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