修复样式 更改接口

This commit is contained in:
2022-05-31 17:38:15 +08:00
parent 4d040cc9ed
commit faa5194e54
351 changed files with 128774 additions and 196 deletions
+6 -2
View File
@@ -1,5 +1,6 @@
import api from '@/api/api'
import isURL from '@/utils/validate'
import { re } from 'mathjs'
import XLSX from 'xlsx'
export function timeFix() {
@@ -90,9 +91,9 @@ function generateChildRouters (data) {
let componentPath = "";
item.route = "1";
if(item.component.indexOf("layouts")>=0){
componentPath = () => import('@/components'+item.component);
componentPath = () => Promise.resolve(require('@/components'+item.component).default);
} else {
componentPath = () => import('@/views'+item.component);
componentPath = () => Promise.resolve(require('@/views'+item.component).default)
}
// eslint-disable-next-line
let URL = (item.url|| '').replace(/{{([^}}]+)?}}/g, (s1, s2) => eval(s2)) // URL支持{{ window.xxx }}占位符变量
@@ -447,6 +448,9 @@ export function replaceAll(text, checker, replacer) {
* @returns {string}
*/
export function getMpListShort(thisRows, checker, replacer) {
if (!thisRows){
return "";
}
let mPropertyListShort = ''
let nativeNameStr = ''
for (let i = 0; i < thisRows.length; i++) {