美文网首页
vue基础导入导出

vue基础导入导出

作者: 秀萝卜 | 来源:发表于2020-04-26 09:25 被阅读0次
var config = {
    baseUrl:"http://192.168.0.112:8090"
}
export default config



export const success1 = (that, msg) => that.$message({
    message: msg || '成功',
    type: 'success',
})
export const warning1 = (that, msg) => that.$message({
    message: msg || '错误',//用户名或密码
    type: 'warning',
})
export const cancel1 = (that, msg) => that.$message({
    message: msg || '取消',//用户名或密码
    type: 'info',
})



import config from './config.js'
import { success1, warning1, cancel1 } from "@/axios/tips.js";

相关文章

网友评论

      本文标题:vue基础导入导出

      本文链接:https://www.haomeiwen.com/subject/cparwhtx.html