mirror of
https://gitee.com/log4j/pig-ui.git
synced 2024-12-23 05:40:20 +08:00
ref: 优化Local 类导入
This commit is contained in:
parent
fde413f0e8
commit
4ffa036ebc
@ -15,7 +15,7 @@ import { storeToRefs } from 'pinia';
|
||||
import { useTagsViewRoutes } from '/@/stores/tagsViewRoutes';
|
||||
import { useThemeConfig } from '/@/stores/themeConfig';
|
||||
import other from '/@/utils/other';
|
||||
import { Session } from '/@/utils/storage';
|
||||
import { Local, Session } from '/@/utils/storage';
|
||||
import mittBus from '/@/utils/mitt';
|
||||
import setIntroduction from '/@/utils/setIconfont';
|
||||
|
||||
|
@ -48,7 +48,6 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts" name="upload-excel">
|
||||
import { Local } from '/@/utils/storage';
|
||||
import { useMessage } from '/@/hooks/message';
|
||||
import other from '/@/utils/other';
|
||||
import { Session } from '/@/utils/storage';
|
||||
|
@ -1,7 +1,7 @@
|
||||
<script setup lang="ts" name="authredirect">
|
||||
import request from '/@/utils/request';
|
||||
import other from '/@/utils/other';
|
||||
import { rule } from '/@/utils/validate';
|
||||
import { validateNull } from '/@/utils/validate';
|
||||
import { Session } from '/@/utils/storage';
|
||||
import { useUserInfo } from '/@/stores/userInfo';
|
||||
import { useMessageBox } from '/@/hooks/message';
|
||||
@ -11,7 +11,7 @@ onMounted(async () => {
|
||||
|
||||
// 优先获取 code 参数,获取不到 则换成 ticket
|
||||
let code = other.getQueryString(url, 'code');
|
||||
if (rule.validateNull(code)) {
|
||||
if (validateNull(code)) {
|
||||
code = other.getQueryString(url, 'ticket');
|
||||
}
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
<script setup lang="ts" name="register">
|
||||
import { fetchList } from '/@/api/admin/tenant';
|
||||
import { Session } from '/@/utils/storage';
|
||||
import { Local, Session } from '/@/utils/storage';
|
||||
|
||||
const tenantList = ref([]);
|
||||
const tenant = ref();
|
||||
|
@ -39,7 +39,7 @@
|
||||
|
||||
<script setup lang="ts" name="payCd">
|
||||
import { useBuyApi } from '/@/api/pay/cd';
|
||||
import { Local } from '/@/utils/storage';
|
||||
import { Session } from '/@/utils/storage';
|
||||
// 导入二维码插件
|
||||
const VueQrcode = defineAsyncComponent(() => import('@chenfengyuan/vue-qrcode'));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user