mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2025-01-19 03:52:50 +08:00
代码优化
This commit is contained in:
parent
2676d6a271
commit
545040a72e
@ -37,7 +37,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive, watch, onMounted, getCurrentInstance,defineExpose } from 'vue'
|
||||
import { ref, reactive, watch, onMounted, getCurrentInstance } from 'vue'
|
||||
import common from "../../../scripts/common";
|
||||
|
||||
const { proxy } = getCurrentInstance()
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
<script setup>
|
||||
|
||||
import { watch, ref, reactive, defineExpose, nextTick, getCurrentInstance, onBeforeMount } from 'vue'
|
||||
import { watch, ref, reactive, nextTick, getCurrentInstance, onBeforeMount } from 'vue'
|
||||
|
||||
const { proxy } = getCurrentInstance()
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {ref, reactive, getCurrentInstance, defineExpose } from 'vue'
|
||||
import {ref, reactive, getCurrentInstance } from 'vue'
|
||||
const { proxy } = getCurrentInstance()
|
||||
const rules = reactive(getRules())
|
||||
const formData = ref(initFormData())
|
||||
|
@ -21,7 +21,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, defineExpose } from 'vue'
|
||||
import { ref } from 'vue'
|
||||
const tableRef = ref()
|
||||
const ids = ref([])
|
||||
|
||||
|
@ -92,7 +92,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {reactive, ref, watch, getCurrentInstance, defineExpose, onMounted} from 'vue'
|
||||
import {reactive, ref, watch, getCurrentInstance, onMounted} from 'vue'
|
||||
import genCode from '@/scripts/gen/gen-mb-list.js'
|
||||
import { ElMessageBox } from 'element-plus'
|
||||
const { proxy } = getCurrentInstance()
|
||||
|
@ -78,7 +78,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive, watch, nextTick, getCurrentInstance, defineExpose } from 'vue'
|
||||
import { ref, reactive, watch, nextTick, getCurrentInstance } from 'vue'
|
||||
import MenuIcons from './menu-icons'
|
||||
|
||||
const { proxy } = getCurrentInstance()
|
||||
|
@ -3,7 +3,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {getCurrentInstance, ref, defineExpose} from 'vue'
|
||||
import { getCurrentInstance, ref } from 'vue'
|
||||
const { proxy } = getCurrentInstance()
|
||||
const emit = defineEmits(['close'])
|
||||
const props = defineProps({
|
||||
|
@ -47,7 +47,7 @@
|
||||
|
||||
<script setup>
|
||||
|
||||
import { ref, reactive, getCurrentInstance, nextTick, defineExpose } from 'vue'
|
||||
import { ref, reactive, getCurrentInstance, nextTick } from 'vue'
|
||||
|
||||
const emit = defineEmits(['reload-table'])
|
||||
const { proxy } = getCurrentInstance()
|
||||
|
Loading…
Reference in New Issue
Block a user