Compare commits

..

No commits in common. '5602057a96435ab6fc3bc27d814c90e2a57d9e22' and 'e3cd2cffabf297acc82ce9871dc7b01b12401ddb' have entirely different histories.

@ -1,5 +1,4 @@
import $config from '@/config.js'
const url_ = $config.url;
const url_ = "http://code.dev.sa0.online:88";
let url_array = {};
url_array['YO'] = `${url_}/api/yo`;
const api = (mark) => {

@ -1,16 +1,14 @@
import {
$post
$post
} from '@/lu/axios.js'
import $config from '@/config.js'
const url_ = $config.url;
const url_ = "http://code.dev.sa0.online:88";
export const yo = async (data) => await $post({
url: 'YO',
data
url: 'YO',
data
})
export const $image = (path) => {
if (path.indexOf('data:image/') !== -1) return path
if (path.indexOf('http') !== -1) return path
return `${url_}${path}`
}

@ -1,14 +1,3 @@
let url = 'http://code.dev.sa0.online:88'
let env = 'online'
if (process.env.NODE_ENV == 'development') {
env = 'dev'
}
// env = 'online'
// env = 'dev'
if (env === 'dev') {
url = 'http://127.0.0.1:8000'
}
export default {
title: '鹿和开发套件',
url,
title: '鹿和开发套件'
}
Loading…
Cancel
Save