Browse Source

menu

master
pengjun 2 years ago
parent
commit
1b9c60a3d6
  1. 4
      src/components/menuPage/MenuPageEdit.vue
  2. 4
      src/components/menuPage/MenuPageTree.vue

4
src/components/menuPage/MenuPageEdit.vue

@ -457,7 +457,7 @@ export default {
}); });
}, },
//tab
// tab
enterToTab() { enterToTab() {
this.$nextTick(() => { this.$nextTick(() => {
let inputs = document.querySelectorAll("form input"); // //.inline-input let inputs = document.querySelectorAll("form input"); // //.inline-input
@ -468,7 +468,7 @@ export default {
// //
// console.log('data-ismultiline',input.getAttribute('data-ismultiline')); // console.log('data-ismultiline',input.getAttribute('data-ismultiline'));
if (event.keyCode === 13) {
if ( event.keyCode === 13 ) {
// //
event.preventDefault(); event.preventDefault();

4
src/components/menuPage/MenuPageTree.vue

@ -14,8 +14,8 @@
<script> <script>
import { mapState, mapMutations } from "vuex"; import { mapState, mapMutations } from "vuex";
import { getapi, postapi, putapi, deletapi } from "@/api/api"; import { getapi, postapi, putapi, deletapi } from "@/api/api";
import { tcdate, deepCopy } from "../../utlis/proFunc";
import { getTreePids} from "../../utlis/tree";
import { tcdate } from "../../utlis/proFunc";
export default { export default {
components: {}, components: {},

Loading…
Cancel
Save