mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-15 14:03:36 +08:00
feat: use unplugin-vue-define-options add setup name
This commit is contained in:
@@ -1,9 +1,3 @@
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "role"
|
||||
};
|
||||
</script>
|
||||
|
||||
<script setup lang="ts">
|
||||
import dayjs from "dayjs";
|
||||
import { getRoleList } from "/@/api/system";
|
||||
@@ -14,6 +8,10 @@ import { EpTableProBar } from "/@/components/ReTable";
|
||||
import { Switch, message } from "@pureadmin/components";
|
||||
import { useRenderIcon } from "/@/components/ReIcon/src/hooks";
|
||||
|
||||
defineOptions({
|
||||
name: "Role"
|
||||
});
|
||||
|
||||
const form = reactive({
|
||||
name: "",
|
||||
code: "",
|
||||
|
||||
Reference in New Issue
Block a user