test(e2e): add test for svg example (#551)
This commit is contained in:
@@ -92,20 +92,21 @@ const Polygraph = {
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const globalStats = [
|
||||
{ label: 'A', value: 100 },
|
||||
{ label: 'B', value: 100 },
|
||||
{ label: 'C', value: 100 },
|
||||
{ label: 'D', value: 100 },
|
||||
{ label: 'E', value: 100 },
|
||||
{ label: 'F', value: 100 }
|
||||
]
|
||||
const App = {
|
||||
components: {
|
||||
Polygraph
|
||||
},
|
||||
setup() {
|
||||
const newLabel = ref('')
|
||||
const stats = reactive([
|
||||
{ label: 'A', value: 100 },
|
||||
{ label: 'B', value: 100 },
|
||||
{ label: 'C', value: 100 },
|
||||
{ label: 'D', value: 100 },
|
||||
{ label: 'E', value: 100 },
|
||||
{ label: 'F', value: 100 }
|
||||
])
|
||||
const stats = reactive(globalStats)
|
||||
|
||||
function add(e) {
|
||||
e.preventDefault()
|
||||
|
||||
Reference in New Issue
Block a user