将popup部分逻辑移植过来

This commit is contained in:
许彦峰
2019-03-15 15:06:15 +08:00
parent e0600603a6
commit 4e808384fe
14 changed files with 67 additions and 18 deletions

View File

@@ -1,5 +1,8 @@
import Vue from 'vue'
import root from './root.vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)
Vue.config.productionTip = false
/* eslint-disable no-new */

View File

@@ -1,5 +1,8 @@
<template lang="pug">
div devtools
<template lang="html">
<div>
<el-button size="mini" @click="onClickTest"> 检测</el-button>
</div>
</template>
<script>
export default {
@@ -9,7 +12,11 @@
},
mounted() {
},
methods: {}
methods: {
onClickTest() {
console.log("onClickTest")
}
}
}
</script>
<style lang="scss">