Commit d4d4289a authored by zhangdong's avatar zhangdong

测试页删除

parent adf5853a
<template>
<div>
<div class="content">
<div @click="up">上传</div>
</div>
</div>
</template>
<script>
import {
autodeploy
} from '@api/common/list'
export default {
data() {
return {
inputMsg: '',
config: {
historyConfig: {
tip: '查看更多'
}
},
list: [{
"date": "2020/04/25 21:19:07",
"text": {
"text": "起床不"
},
"mine": false,
"name": "留恋人间不羡仙",
"img": ""
},
{
"date": "2020/04/25 21:19:07",
"text": {
"text": "11"
},
"mine": false,
"name": "只盼流星不盼雨",
"img": ""
},
{
"date": "2020/04/25 21:19:07",
"text": {
"text": "111"
},
"mine": false,
"name": "只盼流星不盼雨",
"img": ""
},
{
"date": "2020/04/16 21:19:07",
"text": {
"text": "222"
},
"mine": true,
"name": "JwChat",
"img": ""
},
],
tool: {
show: [''],
callback: this.toolEvent,
showEmoji: true,
},
}
},
methods: {
bindEnter() {
const msg = this.inputMsg
if (!msg) return;
const msgObj = {
"date": "2020/05/20 23:19:07",
"text": {
"text": msg
},
"mine": true,
"name": "JwChat",
"img": ""
}
this.list.push(msgObj)
},
toolEvent(type) {
console.log('tools', type)
},
getfile(val) {
console.log(val)
},
async up() {
try {
const {
data,
code
} = await autodeploy()
} catch (e) {
console.log(e)
}
}
}
}
</script>
<style scoped>
<!-- -->
<template>
<div class='home'>Home</div>
</template>
<script>
export default {
data () {
return {
};
},
/* created: {}, */
methods: {}
}
</script>
<style scoped>
</style>
\ No newline at end of file
......@@ -276,11 +276,11 @@ export default new Router({
// component: () => import('../pages/admin/finance/list.vue')
// },
// 采购商
{
path: '/purchaser/ceshi',
show: true,
component: () => import('../pages/ceshi.vue')
},
// {
// path: '/purchaser/ceshi',
// show: true,
// component: () => import('../pages/ceshi.vue')
// },
{
path: '/purchaser/Home',
show: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment