Browse Source

upload

master
HolyKnightIX 6 months ago
parent
commit
bd13234834
2 changed files with 10 additions and 3 deletions
  1. +2
    -2
      example/index.html
  2. +8
    -1
      example/page/index.vue

+ 2
- 2
example/index.html View File

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


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


</html>
</html>

+ 8
- 1
example/page/index.vue View File

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


Loading…
Cancel
Save