Kaynağa Gözat

upload

master
HolyKnightIX 6 ay önce
ebeveyn
işleme
bd13234834
2 değiştirilmiş dosya ile 10 ekleme ve 3 silme
  1. +2
    -2
      example/index.html
  2. +8
    -1
      example/page/index.vue

+ 2
- 2
example/index.html Dosyayı Görüntüle

@@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title><%= htmlWebpackPlugin.options.title %></title>
<title>Admin_print_designer</title>
</head>

<body>
@@ -12,4 +12,4 @@
<!-- built files will be auto injected -->
</body>

</html>
</html>

+ 8
- 1
example/page/index.vue Dosyayı Görüntüle

@@ -1,6 +1,6 @@
<template>
<div class="box">
<div class="title">kr-print-designer 打印模板设计器</div>
<div class="title">打印模板设计器 {{ currentID }}</div>
<section>
<div class="section">模板管理</div>
<el-table :data="tempList" style="width: 100%" size="mini" border>
@@ -121,6 +121,7 @@ export default {
data() {
return {
visible: false,
currentID: "",
value: {},
tempList: [],
form: defaultTemp(),
@@ -233,6 +234,12 @@ export default {
})
},
},
created() {
const id = this.$route.query.id
if (id) {
this.currentID = id
}
}
}
</script>
<style scoped>


Yükleniyor…
İptal
Kaydet